mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-14 06:59:43 -05:00
surface: add wlr_surface.opaque_region
This commit is contained in:
parent
c4915d1492
commit
5bb272d7f3
2 changed files with 28 additions and 0 deletions
|
|
@ -66,6 +66,12 @@ struct wlr_surface {
|
|||
* just like the buffer's texture.
|
||||
*/
|
||||
pixman_region32_t buffer_damage;
|
||||
/**
|
||||
* The current opaque region, in surface-local coordinates. It is clipped to
|
||||
* the surface bounds. If the surface's buffer is using a fully opaque
|
||||
* format, this is set to the whole surface.
|
||||
*/
|
||||
pixman_region32_t opaque_region;
|
||||
/**
|
||||
* `current` contains the current, committed surface state. `pending`
|
||||
* accumulates state changes from the client between commits and shouldn't
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue