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

Unified Diff: cc/layers/layer_impl.h

Issue 2899403003: cc: Give non-drawing layers that are rasterized a lower priority. (Closed)
Patch Set: .. Created 3 years, 7 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/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index f497b7d533bdcbf1c8aa79d7adb2380372a0dc8e..0bee75ad045c1350e8b92ce32f2f1d1631ec5e38 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -576,6 +576,10 @@ class CC_EXPORT LayerImpl {
// layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation.
bool needs_show_scrollbars_ : 1;
+ // This is set for layers that have a property because of which they are not
+ // drawn (singular transforms), but they can become visible soon (the property
+ // is being animated). For this reason, while these layers are not drawn, they
+ // are still rasterized.
bool raster_even_if_not_in_rsll_ : 1;
jaydasika 2017/05/24 22:17:55 nit : we don't have a rsll anymore. Maybe this sho
Khushal 2017/05/25 02:52:59 Yeah, that's better. I'll change it.
DISALLOW_COPY_AND_ASSIGN(LayerImpl);
« 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