Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 1336733002: Re-land: cc: Implement shared worker contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix LayerTreeHostClientTakeAwayOutputSurface test. Content provider is always destroyed on the clie… Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/tiles/tile_manager_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 bool needs_full_tree_sync_; 420 bool needs_full_tree_sync_;
421 bool needs_meta_info_recomputation_; 421 bool needs_meta_info_recomputation_;
422 422
423 LayerTreeHostClient* client_; 423 LayerTreeHostClient* client_;
424 scoped_ptr<Proxy> proxy_; 424 scoped_ptr<Proxy> proxy_;
425 425
426 int source_frame_number_; 426 int source_frame_number_;
427 int meta_information_sequence_number_; 427 int meta_information_sequence_number_;
428 scoped_ptr<RenderingStatsInstrumentation> rendering_stats_instrumentation_; 428 scoped_ptr<RenderingStatsInstrumentation> rendering_stats_instrumentation_;
429 429
430 // |current_output_surface_| can't be updated until we've successfully
431 // initialized a new output surface. |new_output_surface_| contains the
432 // new output surface that is currently being initialized. If initialization
433 // is successful then |new_output_surface_| replaces
434 // |current_output_surface_|.
435 scoped_ptr<OutputSurface> new_output_surface_;
436 scoped_ptr<OutputSurface> current_output_surface_;
430 bool output_surface_lost_; 437 bool output_surface_lost_;
431 438
432 scoped_refptr<Layer> root_layer_; 439 scoped_refptr<Layer> root_layer_;
433 scoped_refptr<HeadsUpDisplayLayer> hud_layer_; 440 scoped_refptr<HeadsUpDisplayLayer> hud_layer_;
434 441
435 base::WeakPtr<InputHandler> input_handler_weak_ptr_; 442 base::WeakPtr<InputHandler> input_handler_weak_ptr_;
436 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_; 443 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_;
437 444
438 const LayerTreeSettings settings_; 445 const LayerTreeSettings settings_;
439 LayerTreeDebugState debug_state_; 446 LayerTreeDebugState debug_state_;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 500
494 uint32_t surface_id_namespace_; 501 uint32_t surface_id_namespace_;
495 uint32_t next_surface_sequence_; 502 uint32_t next_surface_sequence_;
496 503
497 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 504 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
498 }; 505 };
499 506
500 } // namespace cc 507 } // namespace cc
501 508
502 #endif // CC_TREES_LAYER_TREE_HOST_H_ 509 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/tiles/tile_manager_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698