Chromium Code Reviews| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 427 bool needs_full_tree_sync_; | 427 bool needs_full_tree_sync_; |
| 428 bool needs_meta_info_recomputation_; | 428 bool needs_meta_info_recomputation_; |
| 429 | 429 |
| 430 LayerTreeHostClient* client_; | 430 LayerTreeHostClient* client_; |
| 431 scoped_ptr<Proxy> proxy_; | 431 scoped_ptr<Proxy> proxy_; |
| 432 | 432 |
| 433 int source_frame_number_; | 433 int source_frame_number_; |
| 434 int meta_information_sequence_number_; | 434 int meta_information_sequence_number_; |
| 435 scoped_ptr<RenderingStatsInstrumentation> rendering_stats_instrumentation_; | 435 scoped_ptr<RenderingStatsInstrumentation> rendering_stats_instrumentation_; |
| 436 | 436 |
| 437 scoped_ptr<OutputSurface> new_output_surface_; | |
|
danakj
2015/09/11 19:49:55
What's the reasoning for these variables? Why own
reveman
2015/09/11 22:26:13
This is just moving ownership from the compositor
| |
| 438 scoped_ptr<OutputSurface> current_output_surface_; | |
| 437 bool output_surface_lost_; | 439 bool output_surface_lost_; |
| 438 | 440 |
| 439 scoped_refptr<Layer> root_layer_; | 441 scoped_refptr<Layer> root_layer_; |
| 440 scoped_refptr<HeadsUpDisplayLayer> hud_layer_; | 442 scoped_refptr<HeadsUpDisplayLayer> hud_layer_; |
| 441 | 443 |
| 442 base::WeakPtr<InputHandler> input_handler_weak_ptr_; | 444 base::WeakPtr<InputHandler> input_handler_weak_ptr_; |
| 443 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_; | 445 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_; |
| 444 | 446 |
| 445 const LayerTreeSettings settings_; | 447 const LayerTreeSettings settings_; |
| 446 LayerTreeDebugState debug_state_; | 448 LayerTreeDebugState debug_state_; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 502 | 504 |
| 503 uint32_t surface_id_namespace_; | 505 uint32_t surface_id_namespace_; |
| 504 uint32_t next_surface_sequence_; | 506 uint32_t next_surface_sequence_; |
| 505 | 507 |
| 506 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 508 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 507 }; | 509 }; |
| 508 | 510 |
| 509 } // namespace cc | 511 } // namespace cc |
| 510 | 512 |
| 511 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 513 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |