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

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

Issue 1137823002: Pass collected frame timing events to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Send finishTime as well for Render events. Created 5 years, 7 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
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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 bool visible() const { return visible_; } 226 bool visible() const { return visible_; }
227 227
228 void SetThrottleFrameProduction(bool throttle); 228 void SetThrottleFrameProduction(bool throttle);
229 229
230 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, 230 void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
231 bool use_anchor, 231 bool use_anchor,
232 float scale, 232 float scale,
233 base::TimeDelta duration); 233 base::TimeDelta duration);
234 234
235 void ApplyScrollAndScale(ScrollAndScaleSet* info); 235 void ApplyScrollAndScale(ScrollAndScaleSet* info);
236 void RecordCompositeTimings(FrameTimingTracker::CompositeTimingSet* info);
237 void RecordRenderTimings(FrameTimingTracker::MainFrameTimingSet* info);
236 void SetImplTransform(const gfx::Transform& transform); 238 void SetImplTransform(const gfx::Transform& transform);
237 239
238 // Virtual for tests. 240 // Virtual for tests.
239 virtual void StartRateLimiter(); 241 virtual void StartRateLimiter();
240 virtual void StopRateLimiter(); 242 virtual void StopRateLimiter();
241 243
242 void RateLimit(); 244 void RateLimit();
243 245
244 bool AlwaysUsePartialTextureUpdates(); 246 bool AlwaysUsePartialTextureUpdates();
245 size_t MaxPartialTextureUpdates() const; 247 size_t MaxPartialTextureUpdates() const;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 471
470 uint32_t surface_id_namespace_; 472 uint32_t surface_id_namespace_;
471 uint32_t next_surface_sequence_; 473 uint32_t next_surface_sequence_;
472 474
473 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 475 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
474 }; 476 };
475 477
476 } // namespace cc 478 } // namespace cc
477 479
478 #endif // CC_TREES_LAYER_TREE_HOST_H_ 480 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | cc/trees/thread_proxy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698