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

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

Issue 1356463002: Revert of cc: Implement shared worker contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // |current_output_surface_| can't be updated until we've successfully
438 // initialized a new output surface. |new_output_surface_| contains the
439 // new output surface that is currently being initialized. If initialization
440 // is successful then |new_output_surface_| replaces
441 // |current_output_surface_|.
442 scoped_ptr<OutputSurface> new_output_surface_;
443 scoped_ptr<OutputSurface> current_output_surface_;
444 bool output_surface_lost_; 437 bool output_surface_lost_;
445 438
446 scoped_refptr<Layer> root_layer_; 439 scoped_refptr<Layer> root_layer_;
447 scoped_refptr<HeadsUpDisplayLayer> hud_layer_; 440 scoped_refptr<HeadsUpDisplayLayer> hud_layer_;
448 441
449 base::WeakPtr<InputHandler> input_handler_weak_ptr_; 442 base::WeakPtr<InputHandler> input_handler_weak_ptr_;
450 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_; 443 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_;
451 444
452 const LayerTreeSettings settings_; 445 const LayerTreeSettings settings_;
453 LayerTreeDebugState debug_state_; 446 LayerTreeDebugState debug_state_;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 502
510 uint32_t surface_id_namespace_; 503 uint32_t surface_id_namespace_;
511 uint32_t next_surface_sequence_; 504 uint32_t next_surface_sequence_;
512 505
513 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 506 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
514 }; 507 };
515 508
516 } // namespace cc 509 } // namespace cc
517 510
518 #endif // CC_TREES_LAYER_TREE_HOST_H_ 511 #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