summaryrefslogtreecommitdiffstats
path: root/cc/base/switches.cc
diff options
context:
space:
mode:
authorernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 09:20:53 +0000
committerernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 09:20:53 +0000
commitfe3beef0a468d2a7cdb0ca7576efd2eac23ff7b4 (patch)
treebda2a7c6c8787bf724dd4060314090d105e956e8 /cc/base/switches.cc
parent11c14eaecadd86cffde07ec40c566093ad7e97b2 (diff)
downloadchromium_src-fe3beef0a468d2a7cdb0ca7576efd2eac23ff7b4.zip
chromium_src-fe3beef0a468d2a7cdb0ca7576efd2eac23ff7b4.tar.gz
chromium_src-fe3beef0a468d2a7cdb0ca7576efd2eac23ff7b4.tar.bz2
cc: Enable rendering stats recording in browser compositor.
This patch moves the kEnableGpuBenchmarking switch from content switches to cc switches for it to be accessible from ui/compositor/compositor.cc. If the flag is set, the browser compositor enalbes recording of rendering stats in its constructor. The recorded stats will be used by a follow-up patch that switches smoothness benchmark to use time stamps from the browser compositor when available. R=piman@chromium.org,nduca@chromium.org BUG=340747 Review URL: https://codereview.chromium.org/148983007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/base/switches.cc')
-rw-r--r--cc/base/switches.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/base/switches.cc b/cc/base/switches.cc
index 487c5ec..7e45074 100644
--- a/cc/base/switches.cc
+++ b/cc/base/switches.cc
@@ -89,6 +89,9 @@ const char kUIDisablePartialSwap[] = "ui-disable-partial-swap";
const char kEnablePerTilePainting[] = "enable-per-tile-painting";
const char kUIEnablePerTilePainting[] = "ui-enable-per-tile-painting";
+// Enables the GPU benchmarking extension
+const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
+
// Renders a border around compositor layers to help debug and study
// layer compositing.
const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";