Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(675)

Unified Diff: ui/compositor/compositor.cc

Issue 2061993003: Pass responsibility for IOSurface-texture reuse to the gpu process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp85_query_in_use
Patch Set: Rebase. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/service/image_transport_surface_overlay_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 2184372900072c42874b184862cc56f29f4cede0..0524bbda906218dd5b42fc6f53b6b4737af07543 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -125,7 +125,7 @@ Compositor::Compositor(ui::ContextFactory* context_factory,
#if defined(OS_WIN)
settings.renderer_settings.finish_rendering_on_resize = true;
#elif defined(OS_MACOSX)
- settings.renderer_settings.release_overlay_resources_on_swap_complete = true;
+ settings.renderer_settings.release_overlay_resources_after_gpu_query = true;
#endif
// These flags should be mirrored by renderer versions in content/renderer/.
« no previous file with comments | « gpu/ipc/service/image_transport_surface_overlay_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698