OLD | NEW |
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 ~Tile(); | 90 ~Tile(); |
91 | 91 |
92 TileManager* tile_manager_; | 92 TileManager* tile_manager_; |
93 scoped_refptr<PicturePileImpl> picture_pile_; | 93 scoped_refptr<PicturePileImpl> picture_pile_; |
94 gfx::Rect tile_size_; | 94 gfx::Rect tile_size_; |
95 GLenum format_; | 95 GLenum format_; |
96 gfx::Rect content_rect_; | 96 gfx::Rect content_rect_; |
97 float contents_scale_; | 97 float contents_scale_; |
98 gfx::Rect opaque_rect_; | 98 gfx::Rect opaque_rect_; |
99 | 99 |
100 TilePriority priority_[2]; | 100 TilePriority priority_[NUM_BIN_PRIORITIES]; |
101 ManagedTileState managed_state_; | 101 ManagedTileState managed_state_; |
102 }; | 102 }; |
103 | 103 |
104 } // namespace cc | 104 } // namespace cc |
105 | 105 |
106 #endif // CC_TILE_H_ | 106 #endif // CC_TILE_H_ |
OLD | NEW |