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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 1591513002: cc: Early out of UpdateTiles for resoureceless draw (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment, test Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index 8a2465a15bc380c240027b54323e4757fb50f998..847870794e1ef3d827fc5921403bac206d925092 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -156,15 +156,9 @@ class CC_EXPORT PictureLayerImpl
bool nearest_neighbor_;
- // Any draw properties derived from |transform|, |viewport|, and |clip|
- // parameters in LayerTreeHostImpl::OnDraw are not valid for prioritizing
- // tiles during resourceless software draws. This is because resourceless
- // software draws can have wildly different transforms/viewports from regular
- // draws. Save a copy of the required draw properties of the last frame that
- // has a valid viewport for prioritizing tiles.
- gfx::Rect visible_rect_for_tile_priority_;
+ // Use this instead of |visible_layer_rect()| for tiling calculations. This
+ // takes external viewport and transform for tile priority into account.
gfx::Rect viewport_rect_for_tile_priority_in_content_space_;
- gfx::Transform screen_space_transform_for_tile_priority_;
gfx::Size gpu_raster_max_texture_size_;
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698