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

Unified Diff: cc/trees/property_tree.h

Issue 2117853004: cc: Compute sublayer scale from effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "comments" Created 4 years, 5 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/trees/draw_property_utils.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index b40c909ed08ab9cec8a24f3742045dc37f23e603..68a99767f0a13a888f40648dc67893d93357cbe8 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -273,6 +273,8 @@ struct CC_EXPORT EffectNodeData {
FilterOperations background_filters;
+ gfx::Vector2dF sublayer_scale;
+
bool has_render_surface;
RenderSurfaceImpl* render_surface;
bool has_copy_request;
@@ -604,6 +606,8 @@ class CC_EXPORT EffectTree final : public PropertyTree<EffectNode> {
float EffectiveOpacity(const EffectNode* node) const;
+ void UpdateSublayerScale(EffectNode* node);
+
void UpdateEffects(int id);
void UpdateEffectChanged(EffectNode* node, EffectNode* parent_node);
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698