| 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_TREES_LAYER_TREE_HOST_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
| 7 | 7 |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 SharedBitmapManager* shared_bitmap_manager() const { | 355 SharedBitmapManager* shared_bitmap_manager() const { |
| 356 return shared_bitmap_manager_; | 356 return shared_bitmap_manager_; |
| 357 } | 357 } |
| 358 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager() const { | 358 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager() const { |
| 359 return gpu_memory_buffer_manager_; | 359 return gpu_memory_buffer_manager_; |
| 360 } | 360 } |
| 361 TaskGraphRunner* task_graph_runner() const { return task_graph_runner_; } | 361 TaskGraphRunner* task_graph_runner() const { return task_graph_runner_; } |
| 362 | 362 |
| 363 MicroBenchmarkController micro_benchmark_controller_; | 363 MicroBenchmarkController micro_benchmark_controller_; |
| 364 | 364 |
| 365 void OnCommitForSwapPromises(); |
| 366 |
| 365 private: | 367 private: |
| 366 void InitializeProxy(scoped_ptr<Proxy> proxy); | 368 void InitializeProxy(scoped_ptr<Proxy> proxy); |
| 367 | 369 |
| 368 void PaintLayerContents( | 370 void PaintLayerContents( |
| 369 const RenderSurfaceLayerList& render_surface_layer_list, | 371 const RenderSurfaceLayerList& render_surface_layer_list, |
| 370 ResourceUpdateQueue* queue, | 372 ResourceUpdateQueue* queue, |
| 371 bool* did_paint_content, | 373 bool* did_paint_content, |
| 372 bool* need_more_updates); | 374 bool* need_more_updates); |
| 373 void PaintMasksForRenderSurface(Layer* render_surface_layer, | 375 void PaintMasksForRenderSurface(Layer* render_surface_layer, |
| 374 ResourceUpdateQueue* queue, | 376 ResourceUpdateQueue* queue, |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 | 491 |
| 490 uint32_t surface_id_namespace_; | 492 uint32_t surface_id_namespace_; |
| 491 uint32_t next_surface_sequence_; | 493 uint32_t next_surface_sequence_; |
| 492 | 494 |
| 493 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 495 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 494 }; | 496 }; |
| 495 | 497 |
| 496 } // namespace cc | 498 } // namespace cc |
| 497 | 499 |
| 498 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 500 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |