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

Unified Diff: ui/compositor/compositor.cc

Issue 11099029: Disable automatic flushes on compositor contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 8 years, 2 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/command_buffer/client/cmd_buffer_helper.cc ('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 dbaac60941cbb24bc7e3e4833b2573b7cc6e5317..00fcd4aa0d6cc8d98442bbd0fc47f923c164f7f0 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -103,6 +103,7 @@ WebKit::WebGraphicsContext3D* DefaultContextFactory::CreateContextCommon(
attrs.stencil = false;
attrs.antialias = false;
attrs.shareResources = true;
+ attrs.noAutomaticFlushes = !offscreen;
piman 2012/10/16 03:07:14 It's ignored anyway by WebGraphicsContext3DInProce
WebKit::WebGraphicsContext3D* context =
offscreen ?
webkit::gpu::WebGraphicsContext3DInProcessImpl::CreateForWebView(
« no previous file with comments | « gpu/command_buffer/client/cmd_buffer_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698