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

Unified Diff: content/renderer/gpu/delegated_compositor_output_surface.cc

Issue 22900018: cc: Set the mapped memory reclaim limit for the renderer compositor on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move max_transfer_buffer_usage_bytes to OutputSurface::Capabilities Created 7 years, 4 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: content/renderer/gpu/delegated_compositor_output_surface.cc
diff --git a/content/renderer/gpu/delegated_compositor_output_surface.cc b/content/renderer/gpu/delegated_compositor_output_surface.cc
index 02ad1587accafd7006483ec36d3d7383cd3eed7e..2f73c5abb7d4ced16ecd1dd7b0f775372ab73211 100644
--- a/content/renderer/gpu/delegated_compositor_output_surface.cc
+++ b/content/renderer/gpu/delegated_compositor_output_surface.cc
@@ -10,12 +10,14 @@ DelegatedCompositorOutputSurface::DelegatedCompositorOutputSurface(
int32 routing_id,
uint32 output_surface_id,
const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
- scoped_ptr<cc::SoftwareOutputDevice> software)
+ scoped_ptr<cc::SoftwareOutputDevice> software,
+ size_t max_transfer_buffer_usage_bytes)
: CompositorOutputSurface(routing_id,
output_surface_id,
context_provider,
software.Pass(),
- true) {
+ true,
+ max_transfer_buffer_usage_bytes) {
capabilities_.delegated_rendering = true;
capabilities_.max_frames_pending = 1;
}

Powered by Google App Engine
This is Rietveld 408576698