Matthias Clasen
9a30ea1f69
subsurface: Have a source rectangle
...
This will let us use a subset of the full texture, which can
be necessary in the case that converters put padding around
content in dmabufs. The naming follows the Wayland viewporter
spec.
For now, make all callers pass the full texture rect.
2024-02-11 21:44:27 -05:00
Matthias Clasen
3cb1b9d4cb
wayland: Drop GdkWaylandSubsurface.above_parent
...
This is now tracked in GdkSubsurface.
2024-02-07 12:38:18 -05:00
Matthias Clasen
eae0e15b9d
wayland: Move subsurface creation code
...
This belongs with all the other subsurface handling.
2023-11-20 18:01:09 -05:00
Matthias Clasen
ca054bfdc9
wayland: Request frame callbacks on subsurfaces
...
We need this for the case when the subsurface completely covers
up the main surface. Without it, we just stop updating.
2023-11-13 22:17:35 +01:00
Matthias Clasen
59dbfb0843
wayland: Implement subsurface api
...
This is not used anywhere yet.
2023-11-13 22:17:35 +01:00