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

Unified Diff: cc/tiles/tile_manager.h

Issue 1381163002: Add a flag to disable partial raster in renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback + UT refactoring Created 5 years, 2 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 | « cc/test/fake_tile_manager.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.h
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h
index d0ba944b32dea8d618820c4d8877c483d4031948..fced858730332711de0056077d29eb9b0f3d6b47 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -107,7 +107,8 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient {
static scoped_ptr<TileManager> Create(TileManagerClient* client,
base::SequencedTaskRunner* task_runner,
- size_t scheduled_raster_task_limit);
+ size_t scheduled_raster_task_limit,
+ bool use_partial_raster);
~TileManager() override;
// Assigns tile memory and schedules work to prepare tiles for drawing.
@@ -205,7 +206,8 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient {
protected:
TileManager(TileManagerClient* client,
const scoped_refptr<base::SequencedTaskRunner>& task_runner,
- size_t scheduled_raster_task_limit);
+ size_t scheduled_raster_task_limit,
+ bool use_partial_raster);
void FreeResourcesForReleasedTiles();
void CleanUpReleasedTiles();
@@ -289,6 +291,7 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient {
TileTaskRunner* tile_task_runner_;
GlobalStateThatImpactsTilePriority global_state_;
size_t scheduled_raster_task_limit_;
+ const bool use_partial_raster_;
typedef base::hash_map<Tile::Id, Tile*> TileMap;
TileMap tiles_;
« no previous file with comments | « cc/test/fake_tile_manager.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698