wayland: implement surface transformations
- buffer scale - buffer transform - viewporter
This commit is contained in:
parent
20f0fba553
commit
95327685c1
16 changed files with 635 additions and 75 deletions
16
wire/wp_viewport.txt
Normal file
16
wire/wp_viewport.txt
Normal 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
9
wire/wp_viewporter.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# requests
|
||||
|
||||
msg destroy = 0 {
|
||||
}
|
||||
|
||||
msg get_viewport = 1 {
|
||||
id: id(wp_viewport),
|
||||
surface: id(wl_surface),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue