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

Unified Diff: content/public/common/content_switches.cc

Issue 77083002: Add chromium side flag for enabling/disabling layer squashing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 1 month 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 | « content/public/common/content_switches.h ('k') | content/renderer/web_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 6d36600d3e0c3386d2db5c0ede53bcdfa66bd27e..ddd769f694c687c4d9221241335de44df1692860 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -91,6 +91,10 @@ const char kDisableAcceleratedLayers[] = "disable-accelerated-layers";
const char kDisableAcceleratedOverflowScroll[] =
"disable-accelerated-overflow-scroll";
+// Disables layer squashing.
+const char kDisableLayerSquashing[] =
+ "disable-layer-squashing";
+
// Disable accelerated compositing for scrollable frames.
const char kDisableAcceleratedScrollableFrames[] =
"disable-accelerated-scrollable-frames";
@@ -346,6 +350,11 @@ const char kEnableAcceleratedFixedRootBackground[] =
const char kEnableAcceleratedOverflowScroll[] =
"enable-accelerated-overflow-scroll";
+// Enables experimental feature that maps multiple RenderLayers to
+// one composited layer to avoid pathological layer counts.
+const char kEnableLayerSquashing[] =
+ "enable-layer-squashing";
+
// Enables accelerated compositing for scrollable frames for accelerated
// scrolling for them. Requires kForceCompositingMode.
const char kEnableAcceleratedScrollableFrames[] =
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698