summaryrefslogtreecommitdiffstats
path: root/content/content_browser.gypi
diff options
context:
space:
mode:
authorboliu <boliu@chromium.org>2016-03-22 12:33:17 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-22 19:34:15 +0000
commitf4e57485631dc4c3beaa87de398975cab87fdc32 (patch)
treedafb5c772d42afba6404d85ece393a48d8eb9cdf /content/content_browser.gypi
parentfc7f861f2ef3d880e88efbdab8366ff86d1dcf36 (diff)
downloadchromium_src-f4e57485631dc4c3beaa87de398975cab87fdc32.zip
chromium_src-f4e57485631dc4c3beaa87de398975cab87fdc32.tar.gz
chromium_src-f4e57485631dc4c3beaa87de398975cab87fdc32.tar.bz2
sync compositor: Add output_surface_id plumbing
The output_surface_id is unique for a particular renderer compositor instance. It is used to avoid returning resources from lost context to compositor with new context. Plumb output_surface_id from SynchronousOutputSurface all the way to android_webview::HardwareRenderer. To avoid having to send down a map<id, resource list>, a simpler guarantee is to assume the output_surface_id is increasing, so only need to return resources of with highest output surface id and drop resources other resources. BUG=592744 Review URL: https://codereview.chromium.org/1769913003 Cr-Commit-Position: refs/heads/master@{#382636}
Diffstat (limited to 'content/content_browser.gypi')
-rw-r--r--content/content_browser.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content_browser.gypi b/content/content_browser.gypi
index 945fe25..688b5ea 100644
--- a/content/content_browser.gypi
+++ b/content/content_browser.gypi
@@ -106,6 +106,7 @@
'public/browser/android/download_controller_android.cc',
'public/browser/android/download_controller_android.h',
'public/browser/android/external_video_surface_container.h',
+ 'public/browser/android/synchronous_compositor.cc',
'public/browser/android/synchronous_compositor.h',
'public/browser/android/synchronous_compositor_client.h',
'public/browser/appcache_service.h',