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 CC_OCCLUSION_TRACKER_H_ |
6 #define CCOcclusionTracker_h | 6 #define CC_OCCLUSION_TRACKER_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" |
11 #include "cc/layer_iterator.h" | 11 #include "cc/layer_iterator.h" |
12 #include "ui/gfx/rect.h" | 12 #include "ui/gfx/rect.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 class OverdrawMetrics; | 15 class OverdrawMetrics; |
16 class LayerImpl; | 16 class LayerImpl; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) | 105 #if !defined(COMPILER_MSVC) |
106 extern template class OcclusionTrackerBase<Layer, RenderSurface>; | 106 extern template class OcclusionTrackerBase<Layer, RenderSurface>; |
107 extern template class OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>; | 107 extern template class OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>; |
108 #endif | 108 #endif |
109 | 109 |
110 } // namespace cc | 110 } // namespace cc |
111 | 111 |
112 #endif // CCOcclusionTracker_h | 112 #endif // CC_OCCLUSION_TRACKER_H_ |
OLD | NEW |