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

Unified Diff: cc/tile_manager.h

Issue 11316333: cc: Move --num-raster-threads setting to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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_picture_layer_tiling_client.cc ('k') | cc/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile_manager.h
diff --git a/cc/tile_manager.h b/cc/tile_manager.h
index 2d57f7d04312d5607630b68a75f7b5845c921e5b..9e3ff436733996341bd88d4fa59d0b9f46df10ec 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -68,7 +68,9 @@ class CC_EXPORT ManagedTileState {
// created, and unregister from the manager when they are deleted.
class CC_EXPORT TileManager {
public:
- TileManager(TileManagerClient* client, ResourceProvider *resource_provider);
+ TileManager(TileManagerClient* client,
+ ResourceProvider *resource_provider,
+ size_t num_raster_threads);
virtual ~TileManager();
const GlobalStateThatImpactsTilePriority& GlobalState() const { return global_state_; }
@@ -102,6 +104,7 @@ class CC_EXPORT TileManager {
scoped_ptr<ResourcePool> resource_pool_;
bool manage_tiles_pending_;
int pending_raster_tasks_;
+ size_t num_raster_threads_;
scoped_refptr<base::SequencedWorkerPool> worker_pool_;
GlobalStateThatImpactsTilePriority global_state_;
« no previous file with comments | « cc/test/fake_picture_layer_tiling_client.cc ('k') | cc/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698