wayland: Use wl_surface_damage_buffer() in Cairo
authorBenjamin Otte <otte@redhat.com>
Sat, 29 Apr 2023 03:07:03 +0000 (05:07 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 29 Apr 2023 03:07:03 +0000 (05:07 +0200)
commit11aaa29a6917458b40266bf72ecbc4ecb8295bee
treed47f72631a458d2a949321731bd19ffe4d274341
parentb4c859c0113f8802d9c6f047dcf2b689223848da
wayland: Use wl_surface_damage_buffer() in Cairo

... when it is available.

Also introduce the new function gdk_rectangle_transform_affine(), which
looks like overkill for this purpose, but I'm about to use it elsewhere.
gdk/gdkrectangleprivate.h [new file with mode: 0644]
gdk/wayland/gdksurface-wayland.c