• Stephen McGruer's avatar
    Add compositor support for {start,end}ScrollOffset on ScrollTimelines · 411aca65
    Stephen McGruer authored
    This CL pushes the start/end scroll offset information through to the
    compositor and updates the currentTime algorithm to make use of it.
    Updates to the start/end scroll offset are wired through
    blink::WorkletAnimation::UpdateOnCompositor, however the animation is
    not invalidated yet if the scroller properties would change (e.g. due
    to layout changing). This will be done in a follow-up CL.
    
    Bug: 885196
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: I67da2c1ef26b66314af5891a2356920164fa0b0f
    Reviewed-on: https://chromium-review.googlesource.com/c/1271398
    Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
    Reviewed-by: default avatarMajid Valipour <majidvp@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#602028}
    411aca65
scroll_timeline.h 2.96 KB