• Mitsuru Oshima's avatar
    Tray bubble animation improvements · 43afaff3
    Mitsuru Oshima authored
    FPS on arm+hires is now ~60fps even with bg blur (w/o notifications)
    
    * Use layer clip during animation
    * Remove unnecessary background paint
    * Fine tune layer structures: Remove unnecessary texture layer,
      and use smaller layer, or change so that it require less
      repainting.
    
    Refactoring:
    * Consolidate the shield/blur/rounded code into TrayBubbleView.
    * Introduce layer type to buggle dialog delegate.
    
    Fix:
    * Looks like we were painting bg twice which made blur darker.
      It happens once in TrayBubbleView's layer.
    
    Bug: 1033986
    Test: no functional change.
    
    Change-Id: I6b31513b04c55c851e468f621b2d18a3183abd56
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1963234Reviewed-by: default avatarTim Song <tengs@chromium.org>
    Reviewed-by: default avatarMichael Wasserman <msw@chromium.org>
    Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#724822}
    43afaff3
page_indicator_view.cc 8.84 KB