summaryrefslogtreecommitdiffstats
path: root/cc/base
diff options
context:
space:
mode:
authorajuma <ajuma@chromium.org>2015-11-19 11:01:52 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-19 19:02:53 +0000
commitf626d0b9d0fb2bfde430cf63c5111df7da1fba6f (patch)
tree4f0ff5fad3526ce9489e061b75450a20ab406a66 /cc/base
parente13dcf9353b40f8f0d10d3aecbfdea145928fb10 (diff)
downloadchromium_src-f626d0b9d0fb2bfde430cf63c5111df7da1fba6f.zip
chromium_src-f626d0b9d0fb2bfde430cf63c5111df7da1fba6f.tar.gz
chromium_src-f626d0b9d0fb2bfde430cf63c5111df7da1fba6f.tar.bz2
Enable compositor-thread property trees
This enables compositor-thread property trees for all clients of cc. It also replaces the existing --enable-compositor-property-trees flag with a --disable-compositor-property-trees flag. BUG=481585 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1449143004 Cr-Commit-Position: refs/heads/master@{#360635}
Diffstat (limited to 'cc/base')
-rw-r--r--cc/base/switches.cc6
-rw-r--r--cc/base/switches.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/cc/base/switches.cc b/cc/base/switches.cc
index 13a9735..af836e3 100644
--- a/cc/base/switches.cc
+++ b/cc/base/switches.cc
@@ -56,10 +56,10 @@ const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling";
// Enables the GPU benchmarking extension
const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
-// Enables the use of property trees rather than CalcDrawProps for computing
+// Disables the use of property trees rather than CalcDrawProps for computing
// draw properties.
-const char kEnableCompositorPropertyTrees[] =
- "enable-compositor-property-trees";
+const char kDisableCompositorPropertyTrees[] =
+ "disable-compositor-property-trees";
// Renders a border around compositor layers to help debug and study
// layer compositing.
diff --git a/cc/base/switches.h b/cc/base/switches.h
index bd5b2eb..3465eaf 100644
--- a/cc/base/switches.h
+++ b/cc/base/switches.h
@@ -30,7 +30,7 @@ CC_EXPORT extern const char kEnablePropertyTreeVerification[];
// Switches for both the renderer and ui compositors.
CC_EXPORT extern const char kEnableBeginFrameScheduling[];
CC_EXPORT extern const char kEnableGpuBenchmarking[];
-CC_EXPORT extern const char kEnableCompositorPropertyTrees[];
+CC_EXPORT extern const char kDisableCompositorPropertyTrees[];
// Debug visualizations.
CC_EXPORT extern const char kShowCompositedLayerBorders[];