OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_TREES_LAYER_TREE_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_IMPL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // --------------------------------------------------------------------------- | 74 // --------------------------------------------------------------------------- |
75 const LayerTreeSettings& settings() const; | 75 const LayerTreeSettings& settings() const; |
76 const RendererCapabilitiesImpl& GetRendererCapabilities() const; | 76 const RendererCapabilitiesImpl& GetRendererCapabilities() const; |
77 ContextProvider* context_provider() const; | 77 ContextProvider* context_provider() const; |
78 OutputSurface* output_surface() const; | 78 OutputSurface* output_surface() const; |
79 ResourceProvider* resource_provider() const; | 79 ResourceProvider* resource_provider() const; |
80 TileManager* tile_manager() const; | 80 TileManager* tile_manager() const; |
81 FrameRateCounter* frame_rate_counter() const; | 81 FrameRateCounter* frame_rate_counter() const; |
82 PaintTimeCounter* paint_time_counter() const; | 82 PaintTimeCounter* paint_time_counter() const; |
83 MemoryHistory* memory_history() const; | 83 MemoryHistory* memory_history() const; |
84 bool resourceless_software_draw() const; | |
85 gfx::Size device_viewport_size() const; | 84 gfx::Size device_viewport_size() const; |
86 bool IsActiveTree() const; | 85 bool IsActiveTree() const; |
87 bool IsPendingTree() const; | 86 bool IsPendingTree() const; |
88 bool IsRecycleTree() const; | 87 bool IsRecycleTree() const; |
89 LayerImpl* FindActiveTreeLayerById(int id); | 88 LayerImpl* FindActiveTreeLayerById(int id); |
90 LayerImpl* FindPendingTreeLayerById(int id); | 89 LayerImpl* FindPendingTreeLayerById(int id); |
91 LayerImpl* FindRecycleTreeLayerById(int id); | 90 LayerImpl* FindRecycleTreeLayerById(int id); |
92 int MaxTextureSize() const; | 91 int MaxTextureSize() const; |
93 bool PinchGestureActive() const; | 92 bool PinchGestureActive() const; |
94 BeginFrameArgs CurrentBeginFrameArgs() const; | 93 BeginFrameArgs CurrentBeginFrameArgs() const; |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 | 352 |
354 int render_surface_layer_list_id_; | 353 int render_surface_layer_list_id_; |
355 | 354 |
356 private: | 355 private: |
357 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 356 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
358 }; | 357 }; |
359 | 358 |
360 } // namespace cc | 359 } // namespace cc |
361 | 360 |
362 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 361 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |