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

Unified Diff: cc/layers/layer_impl.h

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 | « no previous file | cc/layers/layer_impl.cc » ('j') | no next file with comments »
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 2fa97b1e1bdfec6c0561aa2b989d2dc3b5096f7c..dabe56204c378a1dfac0e5957fa392172c91d4d3 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -435,6 +435,13 @@ class CC_EXPORT LayerImpl {
void set_needs_show_scrollbars(bool yes) { needs_show_scrollbars_ = yes; }
bool needs_show_scrollbars() { return needs_show_scrollbars_; }
+ void set_raster_even_if_not_in_rsll(bool yes) {
+ raster_even_if_not_in_rsll_ = yes;
+ }
+ bool raster_even_if_not_in_rsll() const {
+ return raster_even_if_not_in_rsll_;
+ }
+
protected:
LayerImpl(LayerTreeImpl* layer_impl,
int id,
@@ -554,6 +561,8 @@ class CC_EXPORT LayerImpl {
// layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation.
bool needs_show_scrollbars_ : 1;
+ bool raster_even_if_not_in_rsll_ : 1;
+
DISALLOW_COPY_AND_ASSIGN(LayerImpl);
};
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698