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

Unified Diff: cc/tile_manager.h

Issue 12353003: cc: Refactored Tile::GetResourceId (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/tile_manager.h
diff --git a/cc/tile_manager.h b/cc/tile_manager.h
index 6d2c621bf7e37ad0cc84df5e28fadc7c4740b6c2..9e407363ca25c19fc4a70ace9a366d71c311cea4 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -16,6 +16,7 @@
#include "cc/memory_history.h"
#include "cc/rendering_stats.h"
#include "cc/resource_pool.h"
+#include "cc/tile_drawing_info.h"
#include "cc/tile_priority.h"
#include "cc/worker_pool.h"
@@ -75,13 +76,10 @@ class CC_EXPORT ManagedTileState {
// Persisted state: valid all the time.
bool can_use_gpu_memory;
- bool can_be_freed;
- scoped_ptr<ResourcePool::Resource> resource;
- bool resource_is_being_initialized;
- bool contents_swizzled;
bool need_to_gather_pixel_refs;
std::list<skia::LazyPixelRef*> pending_pixel_refs;
TileRasterState raster_state;
+ TileDrawingInfo drawing_info;
// Ephemeral state, valid only during Manage.
TileManagerBin bin[NUM_BIN_PRIORITIES];

Powered by Google App Engine
This is Rietveld 408576698