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 <list> | 9 #include <list> |
10 #include <set> | 10 #include <set> |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 | 454 |
455 LayerSelectionBound selection_start_; | 455 LayerSelectionBound selection_start_; |
456 LayerSelectionBound selection_end_; | 456 LayerSelectionBound selection_end_; |
457 | 457 |
458 SharedBitmapManager* shared_bitmap_manager_; | 458 SharedBitmapManager* shared_bitmap_manager_; |
459 GpuMemoryBufferManager* gpu_memory_buffer_manager_; | 459 GpuMemoryBufferManager* gpu_memory_buffer_manager_; |
460 | 460 |
461 ScopedPtrVector<SwapPromise> swap_promise_list_; | 461 ScopedPtrVector<SwapPromise> swap_promise_list_; |
462 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 462 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
463 | 463 |
| 464 // We associate work done in CalculateDrawProperties with a sequence number |
| 465 // to avoid having to do extra walks to clear values. |
| 466 int render_surface_layer_list_id_; |
| 467 |
464 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 468 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
465 }; | 469 }; |
466 | 470 |
467 } // namespace cc | 471 } // namespace cc |
468 | 472 |
469 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 473 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |