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

Side by Side Diff: cc/tile.h

Issue 12226046: Added a vector to TileManager to explicitly track live or allocated tiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaselining to origin/master Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/tile_manager.h » ('j') | cc/tile_manager.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TILE_H_ 5 #ifndef CC_TILE_H_
6 #define CC_TILE_H_ 6 #define CC_TILE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 ~Tile(); 88 ~Tile();
89 89
90 TileManager* tile_manager_; 90 TileManager* tile_manager_;
91 scoped_refptr<PicturePileImpl> picture_pile_; 91 scoped_refptr<PicturePileImpl> picture_pile_;
92 gfx::Rect tile_size_; 92 gfx::Rect tile_size_;
93 GLenum format_; 93 GLenum format_;
94 gfx::Rect content_rect_; 94 gfx::Rect content_rect_;
95 float contents_scale_; 95 float contents_scale_;
96 gfx::Rect opaque_rect_; 96 gfx::Rect opaque_rect_;
97 97
98 TilePriority priority_[2]; 98 TilePriority priority_[NUM_BIN_PRIORITIES];
99 ManagedTileState managed_state_; 99 ManagedTileState managed_state_;
100 }; 100 };
101 101
102 } // namespace cc 102 } // namespace cc
103 103
104 #endif // CC_TILE_H_ 104 #endif // CC_TILE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/tile_manager.h » ('j') | cc/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698