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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 1491033002: Create RenderSurface on Effect Tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@alwayspt
Patch Set: rebase on master Created 5 years 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
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 7901c0da2b1978c38bea9cbd8150c99f2d0301ab..04e20abdedbb06f8ce3502e665bf9e6523324f76 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -232,7 +232,11 @@ class CC_EXPORT LayerTreeImpl {
return needs_update_draw_properties_;
}
- void set_needs_full_tree_sync(bool needs) { needs_full_tree_sync_ = needs; }
+ void set_needs_full_tree_sync(bool needs) {
+ needs_full_tree_sync_ = needs;
+ if (needs)
+ property_trees_.needs_rebuild = true;
ajuma 2015/12/02 14:54:21 This will only actually trigger a rebuild in tests
weiliangc 2015/12/02 18:16:38 Sorry I think I left this in during one of my atte
+ }
bool needs_full_tree_sync() const { return needs_full_tree_sync_; }
void ForceRedrawNextActivation() { next_activation_forces_redraw_ = true; }
@@ -391,6 +395,7 @@ class CC_EXPORT LayerTreeImpl {
bool OpacityIsAnimatingOnImplOnly(const LayerImpl* layer) const;
bool TransformIsAnimatingOnImplOnly(const LayerImpl* layer) const;
+ bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const;
bool HasOnlyTranslationTransforms(const LayerImpl* layer) const;
bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const;

Powered by Google App Engine
This is Rietveld 408576698