• Andres Calderon Jaramillo's avatar
    Create a story to detect blur backdrop filter regressions. · 5e4dbee6
    Andres Calderon Jaramillo authored
    This CL creates a story which consists of a JS animation in which a
    group of red squares rotates in the background while three
    semi-transparent foregrounds move on top (with some rotation,
    translation, and resizing going on). The foregrounds apply a blur
    filter.
    
    The motivation is that in Chrome OS, we were having problems with the
    launcher animation having a low frame rate. As the launcher is swiped
    upwards, it applies a blur on the background. dcastagna@ landed a fix to
    improve this significantly (see https://crbug.com/900046). The code used
    by the launcher to do the blurring is not unique to Chrome OS, so the
    new story should be able to measure regressions in that animation.
    
    For due credit: the story is based on tbuckley@'s example which
    reproduced the issue on the web (see
    https://codepen.io/anon/pen/MPXYMQ).
    
    Chromebook after reverting bf7c3813 (dcastagna@'s fix) from 96c5b055.
    
    Test: percentage_smooth goes from 90.805% to 36.158% on an eve
    Bug: 682082
    Change-Id: Ifc4a725a2ba430e7698fccde703d2de4a12db687
    Reviewed-on: https://chromium-review.googlesource.com/c/1324240
    Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org>
    Reviewed-by: default avatarAnnie Sullivan <sullivan@chromium.org>
    Reviewed-by: default avatarVictor Miura <vmiura@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#616050}
    5e4dbee6
rendering_stories.py 3.96 KB