Index: cc/tiles/tile_manager.h |
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h |
index 607d4d66f1b7509d260a2d04a9f3c99bc2669e78..d0ba944b32dea8d618820c4d8877c483d4031948 100644 |
--- a/cc/tiles/tile_manager.h |
+++ b/cc/tiles/tile_manager.h |
@@ -154,7 +154,7 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient { |
TileDrawInfo& draw_info = tiles[i]->draw_info(); |
draw_info.resource_ = resource_pool_->AcquireResource( |
tiles[i]->desired_texture_size(), |
- tile_task_runner_->GetResourceFormat()); |
+ tile_task_runner_->GetResourceFormat(false)); |
} |
} |
@@ -280,6 +280,9 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient { |
void CheckIfMoreTilesNeedToBePrepared(); |
void CheckAndIssueSignals(); |
+ ResourceFormat DetermineResourceFormat(const Tile* tile) const; |
+ bool DetermineResourceRequiresSwizzle(const Tile* tile) const; |
+ |
TileManagerClient* client_; |
scoped_refptr<base::SequencedTaskRunner> task_runner_; |
ResourcePool* resource_pool_; |