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 CC_LAYER_TREE_HOST_H_ | 5 #ifndef CC_LAYER_TREE_HOST_H_ |
6 #define CC_LAYER_TREE_HOST_H_ | 6 #define CC_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 struct CC_EXPORT RendererCapabilities { | 110 struct CC_EXPORT RendererCapabilities { |
111 RendererCapabilities(); | 111 RendererCapabilities(); |
112 ~RendererCapabilities(); | 112 ~RendererCapabilities(); |
113 | 113 |
114 GLenum bestTextureFormat; | 114 GLenum bestTextureFormat; |
115 bool usingPartialSwap; | 115 bool usingPartialSwap; |
116 bool usingAcceleratedPainting; | 116 bool usingAcceleratedPainting; |
117 bool usingSetVisibility; | 117 bool usingSetVisibility; |
118 bool usingSwapCompleteCallback; | 118 bool usingSwapCompleteCallback; |
119 bool usingGpuMemoryManager; | 119 bool usingGpuMemoryManager; |
120 bool usingDiscardFramebuffer; | 120 bool usingDiscardBackbuffer; |
121 bool usingEglImage; | 121 bool usingEglImage; |
122 bool allowPartialTextureUpdates; | 122 bool allowPartialTextureUpdates; |
123 int maxTextureSize; | 123 int maxTextureSize; |
124 }; | 124 }; |
125 | 125 |
126 class CC_EXPORT LayerTreeHost : public RateLimiterClient, | 126 class CC_EXPORT LayerTreeHost : public RateLimiterClient, |
127 public AnimationRegistrar { | 127 public AnimationRegistrar { |
128 public: | 128 public: |
129 static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTre
eSettings&, scoped_ptr<Thread> implThread); | 129 static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTre
eSettings&, scoped_ptr<Thread> implThread); |
130 virtual ~LayerTreeHost(); | 130 virtual ~LayerTreeHost(); |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 #if !defined(NDEBUG) | 339 #if !defined(NDEBUG) |
340 AnimationControllerSet m_allAnimationControllers; | 340 AnimationControllerSet m_allAnimationControllers; |
341 #endif | 341 #endif |
342 | 342 |
343 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 343 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
344 }; | 344 }; |
345 | 345 |
346 } // namespace cc | 346 } // namespace cc |
347 | 347 |
348 #endif // CC_LAYER_TREE_HOST_H_ | 348 #endif // CC_LAYER_TREE_HOST_H_ |
OLD | NEW |