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_RESOURCES_PICTURE_LAYER_TILING_H_ | 5 #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_H_ |
6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_ | 6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 }; | 124 }; |
125 | 125 |
126 Region OpaqueRegionInContentRect(const gfx::Rect&) const; | 126 Region OpaqueRegionInContentRect(const gfx::Rect&) const; |
127 | 127 |
128 void Reset() { return tiles_.clear(); } | 128 void Reset() { return tiles_.clear(); } |
129 | 129 |
130 void UpdateTilePriorities( | 130 void UpdateTilePriorities( |
131 WhichTree tree, | 131 WhichTree tree, |
132 gfx::Size device_viewport, | 132 gfx::Size device_viewport, |
133 const gfx::RectF& viewport_in_layer_space, | 133 const gfx::RectF& viewport_in_layer_space, |
| 134 const gfx::RectF& visible_layer_rect, |
134 gfx::Size last_layer_bounds, | 135 gfx::Size last_layer_bounds, |
135 gfx::Size current_layer_bounds, | 136 gfx::Size current_layer_bounds, |
136 float last_layer_contents_scale, | 137 float last_layer_contents_scale, |
137 float current_layer_contents_scale, | 138 float current_layer_contents_scale, |
138 const gfx::Transform& last_screen_transform, | 139 const gfx::Transform& last_screen_transform, |
139 const gfx::Transform& current_screen_transform, | 140 const gfx::Transform& current_screen_transform, |
140 int current_source_frame_number, | 141 int current_source_frame_number, |
141 double current_frame_time, | 142 double current_frame_time, |
142 bool store_screen_space_quads_on_tiles, | 143 bool store_screen_space_quads_on_tiles, |
143 size_t max_tiles_for_interest_area); | 144 size_t max_tiles_for_interest_area); |
(...skipping 27 matching lines...) Expand all Loading... |
171 | 172 |
172 friend class CoverageIterator; | 173 friend class CoverageIterator; |
173 | 174 |
174 private: | 175 private: |
175 DISALLOW_ASSIGN(PictureLayerTiling); | 176 DISALLOW_ASSIGN(PictureLayerTiling); |
176 }; | 177 }; |
177 | 178 |
178 } // namespace cc | 179 } // namespace cc |
179 | 180 |
180 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_ | 181 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_ |
OLD | NEW |