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

Unified Diff: cc/resources/managed_tile_state.h

Issue 15995033: cc: Low quality support for low res tiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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 | « no previous file | cc/resources/managed_tile_state.cc » ('j') | cc/resources/tile.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/managed_tile_state.h
diff --git a/cc/resources/managed_tile_state.h b/cc/resources/managed_tile_state.h
index 2305b263dba00a72527571482631f777cfe7d7db..26322c94d6b4ea28ef8f81a847b140fad2655138 100644
--- a/cc/resources/managed_tile_state.h
+++ b/cc/resources/managed_tile_state.h
@@ -105,6 +105,7 @@ class CC_EXPORT ManagedTileState {
scoped_ptr<ResourcePool::Resource> resource_;
GLenum resource_format_;
bool forced_upload_;
+ RasterWorkerPool::RasterTask raster_task_;
};
@@ -114,10 +115,11 @@ class CC_EXPORT ManagedTileState {
scoped_ptr<base::Value> AsValue() const;
// Persisted state: valid all the time.
- TileVersion tile_version;
+ TileVersion tile_versions[NUM_RASTER_MODES];
+ TileRasterMode raster_mode;
+
bool picture_pile_analyzed;
PicturePileImpl::Analysis picture_pile_analysis;
reveman 2013/06/05 18:01:32 no need to do anything about it in this patch but
vmpstr 2013/06/06 01:54:20 We might have to add "has_text" to the mts or tile
- RasterWorkerPool::RasterTask raster_task;
// Ephemeral state, valid only during TileManager::ManageTiles.
bool is_in_never_bin_on_both_trees() const {
« no previous file with comments | « no previous file | cc/resources/managed_tile_state.cc » ('j') | cc/resources/tile.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698