Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2266)

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 769703005: Move AW renderer compositor context to gpu thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ready Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698