• Khushal's avatar
    cc/viz: Support animated images in Webview resource-less draw. · 418507c6
    Khushal authored
    The image animation system selects the frame index for the animation
    during tile raster. As a result updating the frame of the image is
    missed for Webview resourceless draw mode which does not use these tiles
    and later rasterizes the display list in SoftwareRenderer. Plumb through
    the animation state on the PictureDrawQuad and use it to select the
    frame index for image at raster.
    
    R=boliu@chromium.org, danakj@chromium.org
    
    Bug: 849565
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: I20f48a664ae816da29e7d55012b7da4dec488ede
    Reviewed-on: https://chromium-review.googlesource.com/1087321Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
    Commit-Queue: Khushal <khushalsagar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#565066}
    418507c6
paint_image.h 8.54 KB