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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // --------------------------------------------------------------------------- | 67 // --------------------------------------------------------------------------- |
68 const LayerTreeSettings& settings() const; | 68 const LayerTreeSettings& settings() const; |
69 const RendererCapabilitiesImpl& GetRendererCapabilities() const; | 69 const RendererCapabilitiesImpl& GetRendererCapabilities() const; |
70 ContextProvider* context_provider() const; | 70 ContextProvider* context_provider() const; |
71 OutputSurface* output_surface() const; | 71 OutputSurface* output_surface() const; |
72 ResourceProvider* resource_provider() const; | 72 ResourceProvider* resource_provider() const; |
73 TileManager* tile_manager() const; | 73 TileManager* tile_manager() const; |
74 FrameRateCounter* frame_rate_counter() const; | 74 FrameRateCounter* frame_rate_counter() const; |
75 PaintTimeCounter* paint_time_counter() const; | 75 PaintTimeCounter* paint_time_counter() const; |
76 MemoryHistory* memory_history() const; | 76 MemoryHistory* memory_history() const; |
77 bool device_viewport_valid_for_tile_management() const; | 77 bool resourceless_software_draw() const; |
78 gfx::Size device_viewport_size() const; | 78 gfx::Size device_viewport_size() const; |
79 bool IsActiveTree() const; | 79 bool IsActiveTree() const; |
80 bool IsPendingTree() const; | 80 bool IsPendingTree() const; |
81 bool IsRecycleTree() const; | 81 bool IsRecycleTree() const; |
82 LayerImpl* FindActiveTreeLayerById(int id); | 82 LayerImpl* FindActiveTreeLayerById(int id); |
83 LayerImpl* FindPendingTreeLayerById(int id); | 83 LayerImpl* FindPendingTreeLayerById(int id); |
84 int MaxTextureSize() const; | 84 int MaxTextureSize() const; |
85 bool PinchGestureActive() const; | 85 bool PinchGestureActive() const; |
86 base::TimeTicks CurrentFrameTimeTicks() const; | 86 base::TimeTicks CurrentFrameTimeTicks() const; |
87 base::TimeDelta begin_impl_frame_interval() const; | 87 base::TimeDelta begin_impl_frame_interval() const; |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 | 334 |
335 int render_surface_layer_list_id_; | 335 int render_surface_layer_list_id_; |
336 | 336 |
337 private: | 337 private: |
338 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 338 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
339 }; | 339 }; |
340 | 340 |
341 } // namespace cc | 341 } // namespace cc |
342 | 342 |
343 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 343 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |