OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CCOcclusionTracker_h | 5 #ifndef CCOcclusionTracker_h |
6 #define CCOcclusionTracker_h | 6 #define CCOcclusionTracker_h |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "CCLayerIterator.h" | |
10 #include "FloatQuad.h" | 8 #include "FloatQuad.h" |
11 #include "Region.h" | 9 #include "Region.h" |
| 10 #include "base/basictypes.h" |
| 11 #include "cc/layer_iterator.h" |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 class CCOverdrawMetrics; | 14 class CCOverdrawMetrics; |
15 class CCLayerImpl; | 15 class CCLayerImpl; |
16 class CCRenderSurface; | 16 class CCRenderSurface; |
17 class LayerChromium; | 17 class LayerChromium; |
18 class RenderSurfaceChromium; | 18 class RenderSurfaceChromium; |
19 | 19 |
20 // This class is used to track occlusion of layers while traversing them in a fr
ont-to-back order. As each layer is visited, one of the | 20 // This class is used to track occlusion of layers while traversing them in a fr
ont-to-back order. As each layer is visited, one of the |
21 // methods in this class is called to notify it about the current target surface
. | 21 // methods in this class is called to notify it about the current target surface
. |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 Vector<IntRect>* m_occludingScreenSpaceRects; | 96 Vector<IntRect>* m_occludingScreenSpaceRects; |
97 | 97 |
98 DISALLOW_COPY_AND_ASSIGN(CCOcclusionTrackerBase); | 98 DISALLOW_COPY_AND_ASSIGN(CCOcclusionTrackerBase); |
99 }; | 99 }; |
100 | 100 |
101 typedef CCOcclusionTrackerBase<LayerChromium, RenderSurfaceChromium> CCOcclusion
Tracker; | 101 typedef CCOcclusionTrackerBase<LayerChromium, RenderSurfaceChromium> CCOcclusion
Tracker; |
102 typedef CCOcclusionTrackerBase<CCLayerImpl, CCRenderSurface> CCOcclusionTrackerI
mpl; | 102 typedef CCOcclusionTrackerBase<CCLayerImpl, CCRenderSurface> CCOcclusionTrackerI
mpl; |
103 | 103 |
104 } | 104 } |
105 #endif // CCOcclusionTracker_h | 105 #endif // CCOcclusionTracker_h |
OLD | NEW |