summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-06 19:15:07 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-06 19:15:07 +0000
commit3d89c79818dedb3f21b111efb780f4c3a012ef20 (patch)
treeabc3f692fe8f7fb182c9f511b8443adcd4e53273
parent5bdc8bec7cd69fffb57bb560e74300f6e5a6d7a8 (diff)
downloadchromium_src-3d89c79818dedb3f21b111efb780f4c3a012ef20.zip
chromium_src-3d89c79818dedb3f21b111efb780f4c3a012ef20.tar.gz
chromium_src-3d89c79818dedb3f21b111efb780f4c3a012ef20.tar.bz2
cc: Add impl-side painting command line switch.
This doesn't do anything yet. It is assumed that ui/compositor will switch over to using Layer directly and not WebLayer so that this switch will only eventually affect the render process compositor. This deliberately doesn't add an about:flags entry until this path is mildly functional. BUG=155209 Review URL: https://codereview.chromium.org/11375002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166240 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--cc/switches.cc3
-rw-r--r--cc/switches.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/cc/switches.cc b/cc/switches.cc
index 86409fd..2214c3d 100644
--- a/cc/switches.cc
+++ b/cc/switches.cc
@@ -26,5 +26,8 @@ const char kEnablePinchInCompositor[] = "enable-pinch-in-compositor";
// content (i.e. jank) instead of showing checkerboards for missing content.
const char kJankInsteadOfCheckerboard[] = "jank-instead-of-checkerboard";
+// Paint content on the compositor thread instead of the main thread.
+const char kImplSidePainting[] = "impl-side-painting";
+
} // namespace switches
} // namespace cc
diff --git a/cc/switches.h b/cc/switches.h
index 9a47b48..6ee6a24f 100644
--- a/cc/switches.h
+++ b/cc/switches.h
@@ -21,6 +21,7 @@ CC_EXPORT extern const char kEnablePartialSwap[];
CC_EXPORT extern const char kEnablePerTilePainting[];
CC_EXPORT extern const char kEnablePinchInCompositor[];
CC_EXPORT extern const char kJankInsteadOfCheckerboard[];
+CC_EXPORT extern const char kImplSidePainting[];
} // namespace switches
} // namespace cc