diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 00:23:37 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 00:23:37 +0000 |
commit | 183aa804ea52374ae1bca809516de677d94a6d95 (patch) | |
tree | bead5b668b4f08546d59591e6fa601b1874d22bf /chrome/common | |
parent | 385495be3c1fb10495f3a3ad2f4b47062e91ee77 (diff) | |
download | chromium_src-183aa804ea52374ae1bca809516de677d94a6d95.zip chromium_src-183aa804ea52374ae1bca809516de677d94a6d95.tar.gz chromium_src-183aa804ea52374ae1bca809516de677d94a6d95.tar.bz2 |
Adds a temporary switch --enable-glsl-translator which
turns on the OpenGL ES GLSL -> OpenGL GLSL translator
in WebGL.
This will be removed in a few weeks it becomes the default
but we need it now for testing.
TEST=hand tested
BUG=none
Review URL: http://codereview.chromium.org/2815008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index e89f57e..dfbe77e 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -311,6 +311,9 @@ const char kEnableIndexedDatabase[] = "enable-indexed-database"; // This flag overrides "disable-ipv6" which appears elswhere in this file. const char kEnableIPv6[] = "enable-ipv6"; +// Enable the GLSL translator. +const char kEnableGLSLTranslator[] = "enable-glsl-translator"; + // Enable the GPU plugin and Pepper 3D rendering. const char kEnableGPUPlugin[] = "enable-gpu-plugin"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 183c3a9..afb798a 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -101,6 +101,7 @@ extern const char kEnableExtensionTimelineApi[]; extern const char kEnableExtensionToolstrips[]; extern const char kEnableFastback[]; extern const char kEnableFileCookies[]; +extern const char kEnableGLSLTranslator[]; extern const char kEnableGPUPlugin[]; extern const char kEnableGPURendering[]; extern const char kEnableIndexedDatabase[]; |