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