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_IMPL_H_ | 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_ |
6 #define CC_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_LAYER_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
304 void dumpRenderSurfaces(std::string*, int indent, const LayerImpl*) const; | 304 void dumpRenderSurfaces(std::string*, int indent, const LayerImpl*) const; |
305 | 305 |
306 static LayerImpl* getNonCompositedContentLayerRecursive(LayerImpl* layer); | 306 static LayerImpl* getNonCompositedContentLayerRecursive(LayerImpl* layer); |
307 | 307 |
308 scoped_ptr<OutputSurface> m_outputSurface; | 308 scoped_ptr<OutputSurface> m_outputSurface; |
309 scoped_ptr<ResourceProvider> m_resourceProvider; | 309 scoped_ptr<ResourceProvider> m_resourceProvider; |
310 scoped_ptr<Renderer> m_renderer; | 310 scoped_ptr<Renderer> m_renderer; |
311 scoped_ptr<TileManager> m_tileManager; | 311 scoped_ptr<TileManager> m_tileManager; |
312 | 312 |
313 scoped_ptr<LayerTreeImpl> m_pendingTree; | 313 scoped_ptr<LayerTreeImpl> m_pendingTree; |
314 scoped_ptr<LayerTreeImpl> m_recycleTree; | |
enne (OOO)
2013/01/17 23:34:55
Can you add some comment here about how all these
jamesr
2013/01/18 01:16:42
Done.
| |
314 scoped_ptr<LayerTreeImpl> m_activeTree; | 315 scoped_ptr<LayerTreeImpl> m_activeTree; |
315 | 316 |
316 bool m_scrollDeltaIsInViewportSpace; | 317 bool m_scrollDeltaIsInViewportSpace; |
317 LayerTreeSettings m_settings; | 318 LayerTreeSettings m_settings; |
318 LayerTreeDebugState m_debugState; | 319 LayerTreeDebugState m_debugState; |
319 gfx::Size m_layoutViewportSize; | 320 gfx::Size m_layoutViewportSize; |
320 gfx::Size m_deviceViewportSize; | 321 gfx::Size m_deviceViewportSize; |
321 float m_deviceScaleFactor; | 322 float m_deviceScaleFactor; |
322 bool m_visible; | 323 bool m_visible; |
323 bool m_contentsTexturesPurged; | 324 bool m_contentsTexturesPurged; |
(...skipping 28 matching lines...) Expand all Loading... | |
352 size_t m_lastSentMemoryUseBytes; | 353 size_t m_lastSentMemoryUseBytes; |
353 | 354 |
354 scoped_ptr<AnimationRegistrar> m_animationRegistrar; | 355 scoped_ptr<AnimationRegistrar> m_animationRegistrar; |
355 | 356 |
356 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 357 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
357 }; | 358 }; |
358 | 359 |
359 } // namespace cc | 360 } // namespace cc |
360 | 361 |
361 #endif // CC_LAYER_TREE_HOST_IMPL_H_ | 362 #endif // CC_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |