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

Unified Diff: cc/resources/tile.h

Issue 810713002: Reduce tile memory size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | cc/resources/tile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index a237697657f411254da5d34e1dd79af7af2060cd..167da17287b25b6b7738dcb9d1c62c05d2e787c9 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -156,7 +156,6 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
bool HasRasterTask() const { return !!raster_task_.get(); }
- TileManager* tile_manager_;
scoped_refptr<RasterSource> raster_source_;
gfx::Size size_;
gfx::Rect content_rect_;
@@ -169,11 +168,11 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
int layer_id_;
int source_frame_number_;
int flags_;
- bool is_shared_;
int tiling_i_index_;
int tiling_j_index_;
- bool required_for_activation_;
- bool required_for_draw_;
+ bool is_shared_ : 1;
+ bool required_for_activation_ : 1;
+ bool required_for_draw_ : 1;
Id id_;
static Id s_next_id_;
« no previous file with comments | « no previous file | cc/resources/tile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698