mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
Optimize window blur calculation.
This commit is contained in:
parent
2f2cfae227
commit
10bdd298b8
4 changed files with 11 additions and 6 deletions
|
|
@ -48,7 +48,7 @@ draw_pointer(int width, int height)
|
|||
cairo_set_source_rgb(cr, 0, 0, 0);
|
||||
cairo_stroke_preserve(cr);
|
||||
cairo_fill(cr);
|
||||
blur_surface(surface);
|
||||
blur_surface(surface, INT_MAX);
|
||||
|
||||
pointer_path(cr, hotspot_x, hotspot_y);
|
||||
cairo_stroke_preserve(cr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue