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

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

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://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/test/test_now_source.h ('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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 } 144 }
145 145
146 void NotifyInputThrottledUntilCommit(); 146 void NotifyInputThrottledUntilCommit();
147 147
148 void Composite(base::TimeTicks frame_begin_time); 148 void Composite(base::TimeTicks frame_begin_time);
149 149
150 void FinishAllRendering(); 150 void FinishAllRendering();
151 151
152 void SetDeferCommits(bool defer_commits); 152 void SetDeferCommits(bool defer_commits);
153 153
154 // Test only hook
155 virtual void DidDeferCommit();
156
157 int source_frame_number() const { return source_frame_number_; } 154 int source_frame_number() const { return source_frame_number_; }
158 155
159 void SetNeedsDisplayOnAllLayers(); 156 void SetNeedsDisplayOnAllLayers();
160 157
161 void CollectRenderingStats(RenderingStats* stats) const; 158 void CollectRenderingStats(RenderingStats* stats) const;
162 159
163 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { 160 RenderingStatsInstrumentation* rendering_stats_instrumentation() const {
164 return rendering_stats_instrumentation_.get(); 161 return rendering_stats_instrumentation_.get();
165 } 162 }
166 163
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 482
486 uint32_t surface_id_namespace_; 483 uint32_t surface_id_namespace_;
487 uint32_t next_surface_sequence_; 484 uint32_t next_surface_sequence_;
488 485
489 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 486 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
490 }; 487 };
491 488
492 } // namespace cc 489 } // namespace cc
493 490
494 #endif // CC_TREES_LAYER_TREE_HOST_H_ 491 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/test_now_source.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698