summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
diff options
context:
space:
mode:
authorvangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 17:46:09 +0000
committervangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 17:46:09 +0000
commitc0ad0313bafabf5bd7f303cf5f6bd93b653677e8 (patch)
treecef3bae882b6418a4c06bf7f06c5dd3607631049 /chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
parent60159295ccf289e95b1da3120351aa8f9cdf9444 (diff)
downloadchromium_src-c0ad0313bafabf5bd7f303cf5f6bd93b653677e8.zip
chromium_src-c0ad0313bafabf5bd7f303cf5f6bd93b653677e8.tar.gz
chromium_src-c0ad0313bafabf5bd7f303cf5f6bd93b653677e8.tar.bz2
Turning WebGL and the accelerated compositor on by default (linux and windows only for the compositor),
removing the --enable-webgl flag and adding --disable-webgl and --disable-accelerated-compositing. On the mac --enable-accelerated-compositing still needs to be supplied to enable the compositor. BUG=54469 Review URL: http://codereview.chromium.org/3342016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc')
-rw-r--r--chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc4
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 0c7d966..9a57aa8 100644
--- a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
+++ b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
@@ -40,8 +40,8 @@ WebGraphicsContext3DCommandBufferImpl::
bool WebGraphicsContext3DCommandBufferImpl::initialize(
WebGraphicsContext3D::Attributes attributes,
WebKit::WebView* web_view) {
- bool compositing_enabled = CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableAcceleratedCompositing);
+ bool compositing_enabled = !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableAcceleratedCompositing);
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.