diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-16 18:05:57 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-16 18:05:57 +0000 |
commit | 0239141734150a05389c171572b4fd2aeb620459 (patch) | |
tree | c5334fbfd00504398668ff35f8b79d3f9dbf7396 /android_webview/lib | |
parent | 9ac9f15c5602a2cfecc0f8acb4ead7cd7396ac9a (diff) | |
download | chromium_src-0239141734150a05389c171572b4fd2aeb620459.zip chromium_src-0239141734150a05389c171572b4fd2aeb620459.tar.gz chromium_src-0239141734150a05389c171572b4fd2aeb620459.tar.bz2 |
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
Diffstat (limited to 'android_webview/lib')
-rw-r--r-- | android_webview/lib/main/aw_main_delegate.cc | 4 |
1 files changed, 1 insertions, 3 deletions
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) |