[go: nahoru, domu]

Reland "Initial implementation of cc::ScrollTimeline"

This is a reland of 31974d24b5de701ff9c290b32e4dd543abec8146
Original change's description:
> Initial implementation of cc::ScrollTimeline
> 
> This creates a compositor side concept of a ScrollTimeline, and adds
> plumbing so that blink WorkletAnimations created with ScrollTimelines
> will create a cc::ScrollTimeline on the compositor side. This means
> that scroll-driven AnimationWorklets are now possible.
> 
> There are a number of caveats to this initial implementation:
>  * We never update the cc::ScrollTimeline, so if the scroller
>    changes on the blink side we won't know.
>  * We assume that the scroller is composited. If it isn't composited
>    during animation play() we will log a warning and fail to start,
>    but if it is composited at that time and later becomes non-composited
>    we will likely crash.
> 
> Bug: 776952
> 
> Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
> Change-Id: Id0342c62209b387130a69edca4ff3682748bd8a3
> Reviewed-on: https://chromium-review.googlesource.com/738437
> Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
> Reviewed-by: Robert Flack <flackr@chromium.org>
> Reviewed-by: dstockwell <dstockwell@chromium.org>
> Reviewed-by: Majid Valipour <majidvp@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#515645}

Bug: 776952
Change-Id: I372d8fd48c62a63b5c6b10688d3829e4ac2c3be1
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Reviewed-on: https://chromium-review.googlesource.com/764578
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: dstockwell <dstockwell@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515985}
32 files changed