Skip to content
  • Alexander Larsson's avatar
    css shadows: Cache blured masks for the corners of outset shadows · d8d0188e
    Alexander Larsson authored
    A lot of time was spend rendering the shadows on windows with CSD, in
    particular the corner pieces, since they are the largest parts. This
    patch catches this particular case and caches the pre-rendered blur
    masks.
    
    This makes the shadow code go from 25% to 8% of the time when resizing
    gtk3-demo.
    d8d0188e