From 183aa804ea52374ae1bca809516de677d94a6d95 Mon Sep 17 00:00:00 2001 From: "gman@chromium.org" Date: Fri, 2 Jul 2010 00:23:37 +0000 Subject: 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 --- chrome/common/chrome_switches.cc | 3 +++ chrome/common/chrome_switches.h | 1 + 2 files changed, 4 insertions(+) (limited to 'chrome/common') 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[]; -- cgit v1.1