From 0239141734150a05389c171572b4fd2aeb620459 Mon Sep 17 00:00:00 2001 From: "boliu@chromium.org" Date: Mon, 16 Jun 2014 18:05:57 +0000 Subject: aw: Enable ubercomp Also fix double disabling accelerated 2d canvas and webgl. Currently using gpu thread context causes GL errors and triggers some DCHECKs, and perf is not great, but otherwise works just fine. BUG=344087 NOTRY=true Review URL: https://codereview.chromium.org/334123002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277489 0039d316-1c4b-4281-b951-d872f2087c98 --- android_webview/lib/main/aw_main_delegate.cc | 4 +--- 1 file changed, 1 insertion(+), 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 9f6d91c..e940d23 100644 --- a/android_webview/lib/main/aw_main_delegate.cc +++ b/android_webview/lib/main/aw_main_delegate.cc @@ -66,11 +66,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { // Not yet supported in single-process mode. cl->AppendSwitch(switches::kDisableSharedWorkers); + cl->AppendSwitch(switches::kEnableUbercomp); if (!switches::UbercompEnabled()) { cl->AppendSwitch(switches::kDisableDelegatedRenderer); - } else { - cl->AppendSwitch(switches::kDisableAccelerated2dCanvas); - cl->AppendSwitch(switches::kDisableExperimentalWebGL); } // File system API not supported (requires some new API; internal bug 6930981) -- cgit v1.1