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

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: Base files missing. Created 7 years, 7 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
Index: cc/base/switches.cc
diff --git a/cc/base/switches.cc b/cc/base/switches.cc
index a90dc6728fb1dd83199d15392db62299caaeae9e..2ef95d91a9dee46244330529aa3b8aea7a8ed75b 100644
--- a/cc/base/switches.cc
+++ b/cc/base/switches.cc
@@ -38,6 +38,10 @@ const char kEnableTopControlsPositionCalculation[] =
// Enable solid tile color and transparent tile metrics.
const char kEnablePredictionBenchmarking[] = "enable-prediction-benchmarking";
+// 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 kForceDirectLayerDrawing[] = "force-direct-layer-drawing";
+
// The height of the movable top controls.
const char kTopControlsHeight[] = "top-controls-height";
« no previous file with comments | « cc/base/switches.h ('k') | cc/layers/draw_properties.h » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698