diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 18:15:19 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 18:15:19 +0000 |
commit | e2af39d65c57d0aece51c06cb8761b698a8d0453 (patch) | |
tree | 898b922a2079325e69946297c4594272e5c30e12 /chrome/browser/renderer_host | |
parent | e99a88e9b0843b2f4644a50229a1be99b62468cd (diff) | |
download | chromium_src-e2af39d65c57d0aece51c06cb8761b698a8d0453.zip chromium_src-e2af39d65c57d0aece51c06cb8761b698a8d0453.tar.gz chromium_src-e2af39d65c57d0aece51c06cb8761b698a8d0453.tar.bz2 |
Disable GPU features AcceleratingCompositing and WebGL by default.
Flags have been switched to reversed logic, and about_flags.cc modified to expose these to users in GUI.
BUG=56053, 59092
TEST=Use about:flags to toggle features, confirm state with e.g. http://webglsamples.googlecode.com/hg/aquarium/aquarium.html http://webkit.org/blog-files/3d-transforms/poster-circle.html Vince's change for about:flags.
Review URL: http://codereview.chromium.org/3978002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/browser_render_process_host.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc index b7af07f..a362c75 100644 --- a/chrome/browser/renderer_host/browser_render_process_host.cc +++ b/chrome/browser/renderer_host/browser_render_process_host.cc @@ -604,10 +604,10 @@ void BrowserRenderProcessHost::PropagateBrowserCommandLineToRenderer( // WebGLArray constructors on the DOMWindow visible. This // information is needed very early during bringup. We prefer to // use the WebPreferences to set this flag on a page-by-page basis. - switches::kDisableExperimentalWebGL, + switches::kEnableExperimentalWebGL, switches::kDisableGLSLTranslator, switches::kInProcessWebGL, - switches::kDisableAcceleratedCompositing, + switches::kEnableAcceleratedCompositing, #if defined(OS_MACOSX) // Allow this to be set when invoking the browser and relayed along. switches::kEnableSandboxLogging, |