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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 240 |
241 int m_commitNumber; | 241 int m_commitNumber; |
242 RenderingStats m_renderingStats; | 242 RenderingStats m_renderingStats; |
243 | 243 |
244 bool m_rendererInitialized; | 244 bool m_rendererInitialized; |
245 bool m_outputSurfaceLost; | 245 bool m_outputSurfaceLost; |
246 int m_numFailedRecreateAttempts; | 246 int m_numFailedRecreateAttempts; |
247 | 247 |
248 scoped_refptr<Layer> m_rootLayer; | 248 scoped_refptr<Layer> m_rootLayer; |
249 scoped_refptr<HeadsUpDisplayLayer> m_hudLayer; | 249 scoped_refptr<HeadsUpDisplayLayer> m_hudLayer; |
250 scoped_refptr<Layer> m_topControlsContentLayer; | |
251 | 250 |
252 scoped_ptr<PrioritizedResourceManager> m_contentsTextureManager; | 251 scoped_ptr<PrioritizedResourceManager> m_contentsTextureManager; |
253 scoped_ptr<PrioritizedResource> m_surfaceMemoryPlaceholder; | 252 scoped_ptr<PrioritizedResource> m_surfaceMemoryPlaceholder; |
254 | 253 |
255 LayerTreeSettings m_settings; | 254 LayerTreeSettings m_settings; |
256 LayerTreeDebugState m_debugState; | 255 LayerTreeDebugState m_debugState; |
257 | 256 |
258 gfx::Size m_layoutViewportSize; | 257 gfx::Size m_layoutViewportSize; |
259 gfx::Size m_deviceViewportSize; | 258 gfx::Size m_deviceViewportSize; |
260 float m_deviceScaleFactor; | 259 float m_deviceScaleFactor; |
(...skipping 17 matching lines...) Expand all Loading... |
278 scoped_ptr<AnimationRegistrar> m_animationRegistrar; | 277 scoped_ptr<AnimationRegistrar> m_animationRegistrar; |
279 | 278 |
280 static bool s_needsFilterContext; | 279 static bool s_needsFilterContext; |
281 | 280 |
282 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 281 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
283 }; | 282 }; |
284 | 283 |
285 } // namespace cc | 284 } // namespace cc |
286 | 285 |
287 #endif // CC_LAYER_TREE_HOST_H_ | 286 #endif // CC_LAYER_TREE_HOST_H_ |
OLD | NEW |