1
0
Fork 0
forked from wry/wry

wayland: implement tearing-control-v1

Currently has no effect because there are no tearing atomic commits. But
by implementing this we make mesa expose VK_PRESENT_MODE_IMMEDIATE_KHR.
This commit is contained in:
Julian Orth 2022-11-18 19:42:59 +01:00
parent 0b46391789
commit cd47baa934
7 changed files with 235 additions and 1 deletions

View file

@ -0,0 +1,11 @@
# requests
msg destroy = 0 {
}
msg get_tearing_control = 1 {
id: id(wp_tearing_control_v1),
surface: id(wl_surface),
}

View file

@ -0,0 +1,9 @@
# requests
msg set_presentation_hint = 0 {
hint: u32,
}
msg destroy = 1 {
}