OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 CCLayerTreeHost_h | 5 #ifndef CCLayerTreeHost_h |
6 #define CCLayerTreeHost_h | 6 #define CCLayerTreeHost_h |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "CCAnimationEvents.h" | 12 #include "CCAnimationEvents.h" |
13 #include "CCGraphicsContext.h" | 13 #include "CCGraphicsContext.h" |
14 #include "CCLayerTreeHostClient.h" | 14 #include "CCLayerTreeHostClient.h" |
15 #include "CCLayerTreeHostCommon.h" | 15 #include "CCLayerTreeHostCommon.h" |
16 #include "CCOcclusionTracker.h" | 16 #include "CCOcclusionTracker.h" |
17 #include "CCPrioritizedTextureManager.h" | 17 #include "CCPrioritizedTextureManager.h" |
18 #include "CCProxy.h" | 18 #include "CCProxy.h" |
19 #include "CCRenderingStats.h" | 19 #include "CCRenderingStats.h" |
20 #include "IntRect.h" | 20 #include "IntRect.h" |
21 #include "RateLimiter.h" | 21 #include "cc/rate_limiter.h" |
22 #include "scoped_ptr_vector.h" | 22 #include "scoped_ptr_vector.h" |
23 #include "third_party/skia/include/core/SkColor.h" | 23 #include "third_party/skia/include/core/SkColor.h" |
24 #include <limits> | 24 #include <limits> |
25 | 25 |
26 #if defined(COMPILER_GCC) | 26 #if defined(COMPILER_GCC) |
27 namespace BASE_HASH_NAMESPACE { | 27 namespace BASE_HASH_NAMESPACE { |
28 template<> | 28 template<> |
29 struct hash<WebKit::WebGraphicsContext3D*> { | 29 struct hash<WebKit::WebGraphicsContext3D*> { |
30 size_t operator()(WebKit::WebGraphicsContext3D* ptr) const { | 30 size_t operator()(WebKit::WebGraphicsContext3D* ptr) const { |
31 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); | 31 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 size_t m_partialTextureUpdateRequests; | 272 size_t m_partialTextureUpdateRequests; |
273 | 273 |
274 static bool s_needsFilterContext; | 274 static bool s_needsFilterContext; |
275 | 275 |
276 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHost); | 276 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHost); |
277 }; | 277 }; |
278 | 278 |
279 } // namespace cc | 279 } // namespace cc |
280 | 280 |
281 #endif | 281 #endif |
OLD | NEW |