Index: android_webview/lib/main/aw_main_delegate.cc |
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc |
index c996cc43b24d89cec9bcb982ecae56d480163e1e..323850a6fc7785564479d40b80e11022f449754e 100644 |
--- a/android_webview/lib/main/aw_main_delegate.cc |
+++ b/android_webview/lib/main/aw_main_delegate.cc |
@@ -85,6 +85,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
// This is needed for sharing textures across the different GL threads. |
cl->AppendSwitch(switches::kEnableThreadedTextureMailboxes); |
+ // Move renderer compositor context to chrome gpu thread. |
+ cl->AppendSwitch(switches::kEnableAsyncPixelWithThreadedTextureMailboxes); |
+ |
// This is needed to be able to mmap the V8 snapshot and ICU data file |
// directly from the WebView .apk. |
// This needs to be here so that it gets to run before the code in |