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

Unified Diff: cc/resources/tile_manager.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: feedback 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: cc/resources/tile_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index 3b6f2e8bd79cdfa5e7a53d947f07af75368fc58b..d28594fc9ee84e4e5a5e101cef936a5f160c15ee 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -52,7 +52,8 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient {
ResourceProvider* resource_provider,
size_t num_raster_threads,
RenderingStatsInstrumentation* rendering_stats_instrumentation,
- bool use_map_image);
+ bool use_map_image,
+ ContextProvider* context_provider);
virtual ~TileManager();
const GlobalStateThatImpactsTilePriority& GlobalState() const {
@@ -151,6 +152,7 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient {
RasterWorkerPool::RasterTask CreateRasterTask(Tile* tile);
scoped_ptr<base::Value> GetMemoryRequirementsAsValue() const;
PrioritizedTileSet* GetPrioritizedTileSet();
+ static size_t GetMaxBytesPendingUpload(ContextProvider* context_provider);
danakj 2013/09/03 17:18:57 should this have a forward declaration in this fil
kaanb 2013/09/03 20:43:11 Moved to anonymous namespace in LTHI
TileManagerClient* client_;
scoped_ptr<ResourcePool> resource_pool_;

Powered by Google App Engine
This is Rietveld 408576698