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

Side by Side Diff: content/renderer/gpu/delegated_compositor_output_surface.h

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, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_ 5 #ifndef CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
6 #define CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_ 6 #define CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
7 7
8 #include "content/renderer/gpu/compositor_output_surface.h" 8 #include "content/renderer/gpu/compositor_output_surface.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 class DelegatedCompositorOutputSurface : public CompositorOutputSurface { 12 class DelegatedCompositorOutputSurface : public CompositorOutputSurface {
13 public: 13 public:
14 DelegatedCompositorOutputSurface( 14 DelegatedCompositorOutputSurface(
15 int32 routing_id, 15 int32 routing_id,
16 uint32 output_surface_id, 16 uint32 output_surface_id,
17 const scoped_refptr<ContextProviderCommandBuffer>& context_provider, 17 const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
18 scoped_ptr<cc::SoftwareOutputDevice> software); 18 scoped_ptr<cc::SoftwareOutputDevice> software,
19 size_t max_transfer_buffer_usage_bytes);
19 virtual ~DelegatedCompositorOutputSurface() {} 20 virtual ~DelegatedCompositorOutputSurface() {}
20 }; 21 };
21 22
22 } // namespace content 23 } // namespace content
23 24
24 #endif // CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_ 25 #endif // CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698