DescriptionHoist begin frame sources out of scheduler
To avoid cc::Scheduler having to sometimes own / sometimes create /
switch between sources / manage parameters on sources, hoist all this
logic up to the owners of cc::Scheduler.
This refactoring makes it possible to eventually allow an OutputSurface
to set a BeginFrameSource on its client and then forward that to the
scheduler to use. That future is made easier by the scheduler having a
single begin frame source managed by its owner.
This patch adds a bit of duplicated logic in three places (single thread
proxy / threaded proxy / tests) for the creation of the begin frame
source. However, the single thread and threaded versions were already
doing different things (re: authoritative vsync signals). The hope
is that the vsync information and begin frame source creation for the
synthetic sources can get further hoisted into OutputSurface itself.
Depends on https://codereview.chromium.org/1762823002
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/b9bf377e238af579e4b6dd01cb4007ba712da742
Cr-Commit-Position: refs/heads/master@{#381558}
Patch Set 1 #
Total comments: 9
Patch Set 2 : Address skyostil comments #
Total comments: 2
Patch Set 3 : Remove multiplexer #
Total comments: 1
Patch Set 4 : Fix trace name #Patch Set 5 : Rebase #
Messages
Total messages: 34 (15 generated)
|