Igalia / WPEBackend-fdo

BSD 2-Clause "Simplified" License
30 stars 24 forks source link

ws: Save and expose damage buffer information #184

Closed lauromoura closed 6 months ago

lauromoura commented 9 months ago

The wl_surface.damage_buffer request can be used by clients to inform that a given region (in buffer coordinates) is damaged. This request is used by eglSwapBuffersWithDamage[EXT|KHR], with one call for each rect.

For more info: https://wayland-book.com/surfaces-in-depth/damaging-surfaces.html

This commit stores this information and exposes it to exported EGL image clients.

It also bumps the nested compositor interface to version 4, which provides the damage_buffer support.

lauromoura commented 6 months ago

Superseded by #188