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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 int64 total_num_cc_layers_will_use_lcd_text; | 467 int64 total_num_cc_layers_will_use_lcd_text; |
468 }; | 468 }; |
469 LCDTextMetrics lcd_text_metrics_; | 469 LCDTextMetrics lcd_text_metrics_; |
470 int id_; | 470 int id_; |
471 bool next_commit_forces_redraw_; | 471 bool next_commit_forces_redraw_; |
472 | 472 |
473 scoped_refptr<Layer> page_scale_layer_; | 473 scoped_refptr<Layer> page_scale_layer_; |
474 scoped_refptr<Layer> inner_viewport_scroll_layer_; | 474 scoped_refptr<Layer> inner_viewport_scroll_layer_; |
475 scoped_refptr<Layer> outer_viewport_scroll_layer_; | 475 scoped_refptr<Layer> outer_viewport_scroll_layer_; |
476 | 476 |
477 OpacityTree opacity_tree_; | |
478 ClipTree clip_tree_; | |
479 TransformTree transform_tree_; | |
480 | |
481 LayerSelectionBound selection_start_; | 477 LayerSelectionBound selection_start_; |
482 LayerSelectionBound selection_end_; | 478 LayerSelectionBound selection_end_; |
483 | 479 |
484 SharedBitmapManager* shared_bitmap_manager_; | 480 SharedBitmapManager* shared_bitmap_manager_; |
485 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; | 481 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; |
486 | 482 |
487 ScopedPtrVector<SwapPromise> swap_promise_list_; | 483 ScopedPtrVector<SwapPromise> swap_promise_list_; |
488 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 484 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
489 | 485 |
490 uint32_t surface_id_namespace_; | 486 uint32_t surface_id_namespace_; |
491 uint32_t next_surface_sequence_; | 487 uint32_t next_surface_sequence_; |
492 | 488 |
493 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 489 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
494 }; | 490 }; |
495 | 491 |
496 } // namespace cc | 492 } // namespace cc |
497 | 493 |
498 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 494 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |