cc: Add frame timing request plumbing through the layers.
commit3d1d72c397c947b7d3ac6390b2a0c2b3a859b094
authorvmpstr <vmpstr@chromium.org>
Mon, 26 Jan 2015 18:27:40 +0000 (26 10:27 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 26 Jan 2015 18:28:37 +0000 (26 18:28 +0000)
tree8c7abc8d1d0e27b99f25e57cf4a23f3d85f02448
parent41e8e527f1ccf6fbdc766c79d4b3b1d272bfc884
cc: Add frame timing request plumbing through the layers.

This patch adds frame timing request class, which contains a rect and
an id for that rect. Furthermore, it adds plumbing so that the requests
get propagated from the original Layer into both pending and active
LayerImpls. Verified using tracing that the requests appear correctly.

R=danakj, michaelblain@chromium.org
BUG=441555

Review URL: https://codereview.chromium.org/834343004

Cr-Commit-Position: refs/heads/master@{#313093}
cc/BUILD.gn
cc/cc.gyp
cc/debug/frame_timing_request.cc [new file with mode: 0644]
cc/debug/frame_timing_request.h [new file with mode: 0644]
cc/layers/layer.cc
cc/layers/layer.h
cc/layers/layer_impl.cc
cc/layers/layer_impl.h