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

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

Issue 1896223003: Move the mapped memory limit from the compositor to the GLHelper context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-limits
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 | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index e59169c49eee5c3ef61d84c8848c42f2d362073d..03062cb41cb9a2d789fbaa3c43e2c84370ca1be9 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -542,10 +542,6 @@ void CompositorImpl::CreateOutputSurface() {
gfx::DeviceDisplayInfo().GetDisplayWidth() * kBytesPerPixel;
limits.max_transfer_buffer_size = std::min(
3 * full_screen_texture_size_in_bytes, kDefaultMaxTransferBufferSize);
- // TODO(danakj): This limit should be on the GLHelper context instead in
- // RWHVAndroid since that is where we do the async readback and map gpu
- // memory to do so.
- limits.mapped_memory_reclaim_limit = 2 * 1024 * 1024;
no sievers 2016/04/20 23:41:47 I'm wondering if we should still leave some limit
danakj 2016/04/20 23:45:37 Sure what limit would you like?
scoped_refptr<ContextProviderCommandBuffer> context_provider(
new ContextProviderCommandBuffer(
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698