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

Side by Side Diff: cc/layers/picture_layer_impl.h

Issue 394113002: Tiling priorities in Android Webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix Created 6 years, 4 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
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
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_LAYERS_PICTURE_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_
6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 bool raster_source_scale_is_fixed_; 207 bool raster_source_scale_is_fixed_;
208 bool was_screen_space_transform_animating_; 208 bool was_screen_space_transform_animating_;
209 bool needs_post_commit_initialization_; 209 bool needs_post_commit_initialization_;
210 // A sanity state check to make sure UpdateTilePriorities only gets called 210 // A sanity state check to make sure UpdateTilePriorities only gets called
211 // after a CalculateContentsScale/ManageTilings. 211 // after a CalculateContentsScale/ManageTilings.
212 bool should_update_tile_priorities_; 212 bool should_update_tile_priorities_;
213 213
214 // Save a copy of the visible rect and viewport size of the last frame that 214 // Save a copy of the visible rect and viewport size of the last frame that
215 // has a valid viewport for prioritizing tiles. 215 // has a valid viewport for prioritizing tiles.
216 gfx::Rect visible_rect_for_tile_priority_; 216 gfx::Rect visible_rect_for_tile_priority_;
217 gfx::Size viewport_size_for_tile_priority_; 217 gfx::Rect viewport_rect_for_tile_priority_;
218 gfx::Transform screen_space_transform_for_tile_priority_; 218 gfx::Transform screen_space_transform_for_tile_priority_;
219 219
220 friend class PictureLayer; 220 friend class PictureLayer;
221 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 221 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
222 }; 222 };
223 223
224 } // namespace cc 224 } // namespace cc
225 225
226 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 226 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698