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

Unified Diff: cc/trees/draw_property_utils.h

Issue 953093002: cc: Derive draw opacity from property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make opacity tree-building optional Created 5 years, 10 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/layers/layer.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/draw_property_utils.h
diff --git a/cc/trees/draw_property_utils.h b/cc/trees/draw_property_utils.h
index 6da912b17a95b17dbd9a02b69df774e4a95cd4c6..78c3c53f508c3b2c8c810b9d9272f51b2ec0b8ca 100644
--- a/cc/trees/draw_property_utils.h
+++ b/cc/trees/draw_property_utils.h
@@ -16,6 +16,7 @@ namespace cc {
class ClipTree;
class Layer;
+class OpacityTree;
class TransformTree;
// Computes combined clips for every node in |clip_tree|. This function requires
@@ -40,7 +41,8 @@ ComputeVisibleRectsUsingPropertyTrees(Layer* root_layer,
const gfx::Rect& viewport,
const gfx::Transform& device_transform,
TransformTree* transform_tree,
- ClipTree* clip_tree);
+ ClipTree* clip_tree,
+ OpacityTree* opacity_tree);
} // namespace cc
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698