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

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

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/trees/draw_property_utils.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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 SharedBitmapManager* shared_bitmap_manager, 103 SharedBitmapManager* shared_bitmap_manager,
104 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, 104 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
105 const LayerTreeSettings& settings, 105 const LayerTreeSettings& settings,
106 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 106 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
107 scoped_ptr<BeginFrameSource> external_begin_frame_source); 107 scoped_ptr<BeginFrameSource> external_begin_frame_source);
108 virtual ~LayerTreeHost(); 108 virtual ~LayerTreeHost();
109 109
110 void SetLayerTreeHostClientReady(); 110 void SetLayerTreeHostClientReady();
111 111
112 // LayerTreeHost interface to Proxy. 112 // LayerTreeHost interface to Proxy.
113 void WillBeginMainFrame() { 113 void WillBeginMainFrame();
114 client_->WillBeginMainFrame(source_frame_number_);
115 }
116 void DidBeginMainFrame(); 114 void DidBeginMainFrame();
117 void BeginMainFrame(const BeginFrameArgs& args); 115 void BeginMainFrame(const BeginFrameArgs& args);
118 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); 116 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
119 void DidStopFlinging(); 117 void DidStopFlinging();
120 void Layout(); 118 void Layout();
121 void BeginCommitOnImplThread(LayerTreeHostImpl* host_impl); 119 void BeginCommitOnImplThread(LayerTreeHostImpl* host_impl);
122 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl); 120 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl);
123 void WillCommit(); 121 void WillCommit();
124 void CommitComplete(); 122 void CommitComplete();
125 void SetOutputSurface(scoped_ptr<OutputSurface> output_surface); 123 void SetOutputSurface(scoped_ptr<OutputSurface> output_surface);
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 480
483 uint32_t surface_id_namespace_; 481 uint32_t surface_id_namespace_;
484 uint32_t next_surface_sequence_; 482 uint32_t next_surface_sequence_;
485 483
486 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 484 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
487 }; 485 };
488 486
489 } // namespace cc 487 } // namespace cc
490 488
491 #endif // CC_TREES_LAYER_TREE_HOST_H_ 489 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698