cc: Add support for sending BeginFrames for video.
commit7d073dc78a7578aababc032237a54e55a86d3480
authorsunnyps <sunnyps@chromium.org>
Thu, 16 Apr 2015 23:29:12 +0000 (16 16:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Apr 2015 23:30:16 +0000 (16 23:30 +0000)
treed4bdc65e52518b64323082eeb325e921d7fe490b
parentb6e393967429379375c0a92973f0f367c29500de
cc: Add support for sending BeginFrames for video.

This CL adds support for plumbing BeginFrames to
VideoFrameProviderClientImpl if it opts into it. This is required for
upcoming video rendering changes to improve video smoothness.

BUG=456991

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

Cr-Commit-Position: refs/heads/master@{#325550}
21 files changed:
cc/BUILD.gn
cc/cc.gyp
cc/layers/video_frame_provider_client_impl.cc
cc/layers/video_frame_provider_client_impl.h
cc/layers/video_layer_impl.cc
cc/scheduler/scheduler.cc
cc/scheduler/scheduler.h
cc/scheduler/scheduler_state_machine.cc
cc/scheduler/scheduler_state_machine.h
cc/scheduler/scheduler_unittest.cc
cc/scheduler/video_frame_controller.h [new file with mode: 0644]
cc/test/fake_layer_tree_host_impl_client.h
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_impl.h
cc/trees/layer_tree_host_impl_unittest.cc
cc/trees/layer_tree_impl.cc
cc/trees/layer_tree_impl.h
cc/trees/single_thread_proxy.cc
cc/trees/single_thread_proxy.h
cc/trees/thread_proxy.cc
cc/trees/thread_proxy.h