| Index: cc/trees/occlusion_tracker.h
|
| diff --git a/cc/trees/occlusion_tracker.h b/cc/trees/occlusion_tracker.h
|
| index 8d07f434cf3b79ba409b0b27f73d4e927ef23c44..f63cd11059484aa0f2bba784702111a6ac6df055 100644
|
| --- a/cc/trees/occlusion_tracker.h
|
| +++ b/cc/trees/occlusion_tracker.h
|
| @@ -11,6 +11,7 @@
|
| #include "cc/base/cc_export.h"
|
| #include "cc/base/simple_enclosed_region.h"
|
| #include "cc/layers/layer_iterator.h"
|
| +#include "cc/trees/occlusion_checker.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| namespace cc {
|
| @@ -35,6 +36,12 @@ class CC_EXPORT OcclusionTracker {
|
| explicit OcclusionTracker(const gfx::Rect& screen_space_clip_rect);
|
| ~OcclusionTracker();
|
|
|
| + // Return an occlusion checker that retains the current state of the tracker
|
| + // and can be used outside of a layer walk to check occlusion.
|
| + OcclusionChecker<LayerType> GenerateOcclusionChecker(
|
| + const LayerType* render_target,
|
| + const gfx::Transform& draw_transform);
|
| +
|
| // Called at the beginning of each step in the LayerIterator's front-to-back
|
| // traversal.
|
| void EnterLayer(const LayerIteratorPosition<LayerType>& layer_iterator);
|
|
|