| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 struct CC_EXPORT RendererCapabilities { | 59 struct CC_EXPORT RendererCapabilities { |
| 60 RendererCapabilities(); | 60 RendererCapabilities(); |
| 61 ~RendererCapabilities(); | 61 ~RendererCapabilities(); |
| 62 | 62 |
| 63 unsigned bestTextureFormat; | 63 unsigned bestTextureFormat; |
| 64 bool usingPartialSwap; | 64 bool usingPartialSwap; |
| 65 bool usingAcceleratedPainting; | 65 bool usingAcceleratedPainting; |
| 66 bool usingSetVisibility; | 66 bool usingSetVisibility; |
| 67 bool usingSwapCompleteCallback; | 67 bool usingSwapCompleteCallback; |
| 68 bool usingGpuMemoryManager; | 68 bool usingGpuMemoryManager; |
| 69 bool usingDiscardBackbuffer; | |
| 70 bool usingEglImage; | 69 bool usingEglImage; |
| 71 bool allowPartialTextureUpdates; | 70 bool allowPartialTextureUpdates; |
| 72 bool usingOffscreenContext3d; | 71 bool usingOffscreenContext3d; |
| 73 int maxTextureSize; | 72 int maxTextureSize; |
| 74 bool avoidPow2Textures; | 73 bool avoidPow2Textures; |
| 75 }; | 74 }; |
| 76 | 75 |
| 77 class CC_EXPORT LayerTreeHost : public RateLimiterClient { | 76 class CC_EXPORT LayerTreeHost : public RateLimiterClient { |
| 78 public: | 77 public: |
| 79 static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTre
eSettings&, scoped_ptr<Thread> implThread); | 78 static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTre
eSettings&, scoped_ptr<Thread> implThread); |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 size_t m_partialTextureUpdateRequests; | 276 size_t m_partialTextureUpdateRequests; |
| 278 | 277 |
| 279 scoped_ptr<AnimationRegistrar> m_animationRegistrar; | 278 scoped_ptr<AnimationRegistrar> m_animationRegistrar; |
| 280 | 279 |
| 281 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 280 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 282 }; | 281 }; |
| 283 | 282 |
| 284 } // namespace cc | 283 } // namespace cc |
| 285 | 284 |
| 286 #endif // CC_LAYER_TREE_HOST_H_ | 285 #endif // CC_LAYER_TREE_HOST_H_ |
| OLD | NEW |