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

Unified Diff: cc/trees/occlusion_tracker.h

Issue 1868003002: cc: Move RenderTarget Information to Effect Tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/occlusion_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/occlusion_tracker.h
diff --git a/cc/trees/occlusion_tracker.h b/cc/trees/occlusion_tracker.h
index 847de7b6390bcbbcab9fe62c539dea62fba34a04..9812ff3029a8756ec731030f31e7581ae216e7bd 100644
--- a/cc/trees/occlusion_tracker.h
+++ b/cc/trees/occlusion_tracker.h
@@ -48,7 +48,7 @@ class CC_EXPORT OcclusionTracker {
void LeaveLayer(const LayerIteratorPosition& layer_iterator);
// Gives the region of the screen that is not occluded by something opaque.
- Region ComputeVisibleRegionInScreen() const;
+ Region ComputeVisibleRegionInScreen(const LayerTreeImpl* layer_tree) const;
void set_minimum_tracking_size(const gfx::Size& size) {
minimum_tracking_size_ = size;
@@ -57,8 +57,8 @@ class CC_EXPORT OcclusionTracker {
protected:
struct StackObject {
StackObject() : target(0) {}
- explicit StackObject(const LayerImpl* target) : target(target) {}
- const LayerImpl* target;
+ explicit StackObject(const RenderSurfaceImpl* target) : target(target) {}
+ const RenderSurfaceImpl* target;
SimpleEnclosedRegion occlusion_from_outside_target;
SimpleEnclosedRegion occlusion_from_inside_target;
};
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/occlusion_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698