Chromium Code Reviews
DescriptionTeach cc::LayerTreeSettings to produce cc::SchedulerSettings
The cc::Proxy implementations need to translate their configuration as
represented by a cc::LayerTreeSettings object into a
cc::SchedulerSettings for the scheduler to consume. This was
accomplished by having cc::SchedulerSettings know how to construct
itself from a cc::LayerTreeSettings instance, but this was awkward since
it meant that cc/scheduler/ needed to depend on cc/trees/ in order to
accomplish a task only needed by cc/trees/. Logically the scheduler is
at a lower layer than the proxies. This inverts the dependency by
teaching LayerTreeSettings how to construct a SchedulerSettings object
with only the relevant fields.
R=danakj@chromium.org
Committed: https://crrev.com/6f64ab70b91993b75a54f953fdd1dfae4ed976dc
Cr-Commit-Position: refs/heads/master@{#321198}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 11 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||