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

Unified Diff: cc/layers/picture_layer_impl.cc

Issue 2838033002: cc : Don't draw animating layers with singular screen space transform (Closed)
Patch Set: . Created 3 years, 8 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 | « cc/layers/layer_impl.cc ('k') | cc/trees/draw_property_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index f385bddd8003344734c5ee27c144d901da007d3e..19ec446e881bf5aae08d21f46388c14d3f7228cf 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -1393,7 +1393,8 @@ bool PictureLayerImpl::IsOnActiveOrPendingTree() const {
bool PictureLayerImpl::HasValidTilePriorities() const {
return IsOnActiveOrPendingTree() &&
- is_drawn_render_surface_layer_list_member();
+ (is_drawn_render_surface_layer_list_member() ||
+ raster_even_if_not_in_rsll());
}
void PictureLayerImpl::InvalidateRegionForImages(
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/draw_property_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698