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/renderer/webgraphicscontext3d_command_buffer_impl.cc | |
| 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/renderer/webgraphicscontext3d_command_buffer_impl.cc')
| -rw-r--r-- | chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc index 1ffd0fe..3bae57f 100644 --- a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc +++ b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc @@ -107,8 +107,8 @@ bool WebGraphicsContext3DCommandBufferImpl::initialize( kWebGraphicsContext3DPerferredGLExtensions, attribs); } else { - bool compositing_enabled = !CommandLine::ForCurrentProcess()->HasSwitch( - switches::kDisableAcceleratedCompositing); + bool compositing_enabled = CommandLine::ForCurrentProcess()->HasSwitch( + switches::kEnableAcceleratedCompositing); ggl::Context* parent_context = NULL; // If GPU compositing is enabled we need to create a GL context that shares // resources with the compositor's context. |
