Keep track on the layer tree construction time in the animator. (flutter/engine#2968)

This commit is contained in:
Chinmay Garde
2016-08-23 17:03:38 -07:00
committed by GitHub
parent 8fc97078ca
commit a36164b0b7

View File

@@ -20,6 +20,7 @@ namespace flow {
class LayerTree {
public:
LayerTree();
~LayerTree();
void Raster(CompositorContext::ScopedFrame& frame);
@@ -41,6 +42,7 @@ class LayerTree {
void set_frame_size(const SkISize& frame_size) { frame_size_ = frame_size; }
uint32_t scene_version() const { return scene_version_; }
void set_scene_version(uint32_t scene_version) {
scene_version_ = scene_version;
}