1
0
Fork 0
forked from wry/wry

wayland: implement surface transformations

- buffer scale
- buffer transform
- viewporter
This commit is contained in:
Julian Orth 2022-05-28 18:18:29 +02:00
parent 20f0fba553
commit 95327685c1
16 changed files with 635 additions and 75 deletions

16
wire/wp_viewport.txt Normal file
View file

@ -0,0 +1,16 @@
# requests
msg destroy = 0 {
}
msg set_source = 1 {
x: fixed,
y: fixed,
width: fixed,
height: fixed,
}
msg set_destination = 2 {
width: i32,
height: i32,
}

9
wire/wp_viewporter.txt Normal file
View file

@ -0,0 +1,9 @@
# requests
msg destroy = 0 {
}
msg get_viewport = 1 {
id: id(wp_viewport),
surface: id(wl_surface),
}