Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 5d49f6135e9f9110bdc5d3649aea9008669b9aa4..3b2a880bf441dd34be31120a0b1899389821dbde 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -1076,6 +1076,15 @@ void LayerTreeHost::ApplyScrollAndScale(const ScrollAndScaleSet& info) { |
} |
} |
+void LayerTreeHost::RecordDrawTiming(const DrawTimingSet& info) { |
+ if (!root_layer_.get()) |
+ return; |
+ |
+ for (size_t i = 0; i < info.draws.size(); ++i) { |
+ client_->RecordDrawTiming(info.draws[i].rect_id, info.draws[i].timestamps); |
enne (OOO)
2014/07/22 20:44:25
Can you help me understand what the eventual API i
Mike B
2014/07/25 23:09:40
Both.. but timestamp is the main thing being deliv
|
+ } |
+} |
+ |
void LayerTreeHost::StartRateLimiter() { |
if (animating_) |
return; |