From 2df8d41bb322115273dfa77665d9be64c277352b Mon Sep 17 00:00:00 2001 From: "boliu@chromium.org" Date: Sat, 15 Mar 2014 05:28:41 +0000 Subject: gpu: Add extension check when initializing MailboxSync And do not enable accelerated canvas in webview if extensions are missing. BUG=332146 Review URL: https://codereview.chromium.org/196653019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257295 0039d316-1c4b-4281-b951-d872f2087c98 --- android_webview/lib/main/aw_main_delegate.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'android_webview/lib') diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc index 34097b0..c11f7a0 100644 --- a/android_webview/lib/main/aw_main_delegate.cc +++ b/android_webview/lib/main/aw_main_delegate.cc @@ -25,7 +25,6 @@ #include "content/public/common/content_switches.h" #include "gpu/command_buffer/client/gl_in_process_context.h" #include "gpu/command_buffer/service/in_process_command_buffer.h" -#include "gpu/command_buffer/service/mailbox_synchronizer.h" #include "media/base/media_switches.h" #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" @@ -67,8 +66,6 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { cl->AppendSwitch(switches::kDisableExperimentalWebGL); cl->AppendSwitch(switches::kDisableSharedWorkers); - if (!gpu::gles2::MailboxSynchronizer::Initialize()) - cl->AppendSwitch(switches::kDisableAccelerated2dCanvas); // File system API not supported (requires some new API; internal bug 6930981) cl->AppendSwitch(switches::kDisableFileSystem); -- cgit v1.1