| 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; |
| 84 gfx::Size device_viewport_size() const; | 85 gfx::Size device_viewport_size() const; |
| 85 bool IsActiveTree() const; | 86 bool IsActiveTree() const; |
| 86 bool IsPendingTree() const; | 87 bool IsPendingTree() const; |
| 87 bool IsRecycleTree() const; | 88 bool IsRecycleTree() const; |
| 88 LayerImpl* FindActiveTreeLayerById(int id); | 89 LayerImpl* FindActiveTreeLayerById(int id); |
| 89 LayerImpl* FindPendingTreeLayerById(int id); | 90 LayerImpl* FindPendingTreeLayerById(int id); |
| 90 LayerImpl* FindRecycleTreeLayerById(int id); | 91 LayerImpl* FindRecycleTreeLayerById(int id); |
| 91 bool PinchGestureActive() const; | 92 bool PinchGestureActive() const; |
| 92 BeginFrameArgs CurrentBeginFrameArgs() const; | 93 BeginFrameArgs CurrentBeginFrameArgs() const; |
| 93 base::TimeDelta begin_impl_frame_interval() const; | 94 base::TimeDelta begin_impl_frame_interval() const; |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 float top_controls_delta_; | 393 float top_controls_delta_; |
| 393 float sent_top_controls_delta_; | 394 float sent_top_controls_delta_; |
| 394 | 395 |
| 395 private: | 396 private: |
| 396 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 397 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 397 }; | 398 }; |
| 398 | 399 |
| 399 } // namespace cc | 400 } // namespace cc |
| 400 | 401 |
| 401 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 402 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |