summaryrefslogtreecommitdiffstats
path: root/cc/trees/draw_property_utils.h
diff options
context:
space:
mode:
authorweiliangc <weiliangc@chromium.org>2015-08-18 09:29:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-18 16:30:21 +0000
commit6a52f30f89fbd0ca6c874af19e4a5bd70facb4d6 (patch)
tree40e35bf444d6eefa7d11574d63c6da88f85f2a75 /cc/trees/draw_property_utils.h
parent5f7f7193b3a7cf794458045044b2eaa8971f68b2 (diff)
downloadchromium_src-6a52f30f89fbd0ca6c874af19e4a5bd70facb4d6.zip
chromium_src-6a52f30f89fbd0ca6c874af19e4a5bd70facb4d6.tar.gz
chromium_src-6a52f30f89fbd0ca6c874af19e4a5bd70facb4d6.tar.bz2
Rename OpacityTree to EffectTree
Effect tree is going to contain opacity as well as other render effects. Change the name as a first step. BUG=521717 R=enne CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1284103007 Cr-Commit-Position: refs/heads/master@{#343936}
Diffstat (limited to 'cc/trees/draw_property_utils.h')
-rw-r--r--cc/trees/draw_property_utils.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/cc/trees/draw_property_utils.h b/cc/trees/draw_property_utils.h
index cb47e5c..971fe10 100644
--- a/cc/trees/draw_property_utils.h
+++ b/cc/trees/draw_property_utils.h
@@ -19,7 +19,7 @@ class ClipTree;
class Layer;
class LayerImpl;
class RenderSurfaceImpl;
-class OpacityTree;
+class EffectTree;
class TransformTree;
class PropertyTrees;
@@ -35,7 +35,7 @@ ComputeClips(ClipTree* clip_tree, const TransformTree& transform_tree);
void CC_EXPORT ComputeTransforms(TransformTree* transform_tree);
// Computes screen space opacity for every node in the opacity tree.
-void CC_EXPORT ComputeOpacities(OpacityTree* opacity_tree);
+void CC_EXPORT ComputeOpacities(EffectTree* effect_tree);
// Computes the visible content rect for every layer under |root_layer|. The
// visible content rect is the clipped content space rect that will be used for
@@ -109,11 +109,11 @@ bool CC_EXPORT
ScreenSpaceTransformIsAnimatingFromPropertyTrees(const LayerImpl* layer,
const TransformTree& tree);
-float CC_EXPORT
-DrawOpacityFromPropertyTrees(const Layer* layer, const OpacityTree& tree);
+float CC_EXPORT DrawOpacityFromPropertyTrees(const Layer* layer,
+ const EffectTree& tree);
-float CC_EXPORT
-DrawOpacityFromPropertyTrees(const LayerImpl* layer, const OpacityTree& tree);
+float CC_EXPORT DrawOpacityFromPropertyTrees(const LayerImpl* layer,
+ const EffectTree& tree);
bool CC_EXPORT
CanUseLcdTextFromPropertyTrees(const LayerImpl* layer,