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

Unified Diff: cc/base/switches.cc

Issue 13863015: Add flag for drawing layers to screen with Ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Stencil buffer support, --draw-layers-with-ganesh Created 7 years, 8 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 | « cc/base/switches.h ('k') | cc/debug/debug_colors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/switches.cc
diff --git a/cc/base/switches.cc b/cc/base/switches.cc
index cf2e6c5ddc4809ff4bb3ad21690886242a14cf87..63fcbaa99051e6e97573e3babb783e921108efeb 100644
--- a/cc/base/switches.cc
+++ b/cc/base/switches.cc
@@ -26,6 +26,10 @@ const char kDisableColorEstimator[] = "disable-color-estimator";
// Overrides the kEnableImplSidePainting flag.
const char kDisableImplSidePainting[] = "disable-impl-side-painting";
+// For any layers that can get drawn directly to screen, draw them with Ganesh.
+// Only valid with gl rendering / threaded compositing / impl-side painting.
+const char kDrawLayersWithGanesh[] = "draw-layers-with-ganesh";
+
// Paint content on the compositor thread instead of the main thread.
const char kEnableImplSidePainting[] = "enable-impl-side-painting";
« no previous file with comments | « cc/base/switches.h ('k') | cc/debug/debug_colors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698