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 "Region.h" | 8 #include "Region.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "cc/cc_export.h" | 10 #include "cc/cc_export.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 gfx::Size m_minimumTrackingSize; | 95 gfx::Size m_minimumTrackingSize; |
96 | 96 |
97 // This is used for visualizing the occlusion tracking process. | 97 // This is used for visualizing the occlusion tracking process. |
98 std::vector<gfx::Rect>* m_occludingScreenSpaceRects; | 98 std::vector<gfx::Rect>* m_occludingScreenSpaceRects; |
99 | 99 |
100 DISALLOW_COPY_AND_ASSIGN(OcclusionTrackerBase); | 100 DISALLOW_COPY_AND_ASSIGN(OcclusionTrackerBase); |
101 }; | 101 }; |
102 | 102 |
103 typedef OcclusionTrackerBase<Layer, RenderSurface> OcclusionTracker; | 103 typedef OcclusionTrackerBase<Layer, RenderSurface> OcclusionTracker; |
104 typedef OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl> OcclusionTrackerImpl; | 104 typedef OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl> OcclusionTrackerImpl; |
| 105 #if !defined(COMPILER_MSVC) |
| 106 extern template class OcclusionTrackerBase<Layer, RenderSurface>; |
| 107 extern template class OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>; |
| 108 #endif |
105 | 109 |
106 } // namespace cc | 110 } // namespace cc |
107 | 111 |
108 #endif // CCOcclusionTracker_h | 112 #endif // CCOcclusionTracker_h |
OLD | NEW |