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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 1899393002: Turn off flushes and sharing for the android GLHelper context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index d8a3a745ff675fb6d5552246ce64d905771ef848..0f68606c293fbf6ceee94d11abbcd53841aa5209 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -179,10 +179,8 @@ void GLHelperHolder::Initialize() {
limits.mapped_memory_reclaim_limit =
WebGraphicsContext3DCommandBufferImpl::kNoLimit;
- bool share_resources = true;
- // TODO(danakj): This should be false probably, it is for the main thread
- // context which is used for GLHelper.
- bool automatic_flushes = true;
+ bool share_resources = false;
+ bool automatic_flushes = false;
GURL url("chrome://gpu/RenderWidgetHostViewAndroid");
std::unique_ptr<WebGraphicsContext3DCommandBufferImpl> context(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698