| 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 CC_OCCLUSION_TRACKER_H_ | 5 #ifndef CC_OCCLUSION_TRACKER_H_ |
| 6 #define CC_OCCLUSION_TRACKER_H_ | 6 #define CC_OCCLUSION_TRACKER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "cc/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/base/region.h" |
| 10 #include "cc/layer_iterator.h" | 11 #include "cc/layer_iterator.h" |
| 11 #include "cc/region.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; |
| 17 class RenderSurfaceImpl; | 17 class RenderSurfaceImpl; |
| 18 class Layer; | 18 class Layer; |
| 19 class RenderSurface; | 19 class RenderSurface; |
| 20 | 20 |
| 21 // This class is used to track occlusion of layers while traversing them in a | 21 // This class is used to track occlusion of layers while traversing them in a |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 typedef OcclusionTrackerBase<Layer, RenderSurface> OcclusionTracker; | 162 typedef OcclusionTrackerBase<Layer, RenderSurface> OcclusionTracker; |
| 163 typedef OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl> OcclusionTrackerImpl; | 163 typedef OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl> OcclusionTrackerImpl; |
| 164 #if !defined(COMPILER_MSVC) | 164 #if !defined(COMPILER_MSVC) |
| 165 extern template class OcclusionTrackerBase<Layer, RenderSurface>; | 165 extern template class OcclusionTrackerBase<Layer, RenderSurface>; |
| 166 extern template class OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>; | 166 extern template class OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>; |
| 167 #endif | 167 #endif |
| 168 | 168 |
| 169 } // namespace cc | 169 } // namespace cc |
| 170 | 170 |
| 171 #endif // CC_OCCLUSION_TRACKER_H_ | 171 #endif // CC_OCCLUSION_TRACKER_H_ |
| OLD | NEW |