• Yi Gu's avatar
    Make worklet animation stateful · 9bbcad05
    Yi Gu authored
    Currently the sync mechanism between cc and worklet is stateless meaning
    that it sends a new copy of the world every sync cycle. This has the
    benefit of keeping things very simple initially but it is not
    necessarily very efficient.
    
    This patch makes worklet animation stateful and adds the ability to
    mutate only a subset of animations.
    
    Bug: 843255
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: I18e5d64d0145394fad739a70fa7d0e91bb0e4588
    Reviewed-on: https://chromium-review.googlesource.com/1092413
    Commit-Queue: Yi Gu <yigu@chromium.org>
    Reviewed-by: default avatarMajid Valipour <majidvp@chromium.org>
    Reviewed-by: default avatarStephen McGruer <smcgruer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#567367}
    9bbcad05
worklet_animation.h 4.04 KB