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:
parent
0b46391789
commit
cd47baa934
7 changed files with 235 additions and 1 deletions
11
wire/wp_tearing_control_manager_v1.txt
Normal file
11
wire/wp_tearing_control_manager_v1.txt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# requests
|
||||
|
||||
msg destroy = 0 {
|
||||
|
||||
}
|
||||
|
||||
msg get_tearing_control = 1 {
|
||||
id: id(wp_tearing_control_v1),
|
||||
surface: id(wl_surface),
|
||||
}
|
||||
|
||||
9
wire/wp_tearing_control_v1.txt
Normal file
9
wire/wp_tearing_control_v1.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# requests
|
||||
|
||||
msg set_presentation_hint = 0 {
|
||||
hint: u32,
|
||||
}
|
||||
|
||||
msg destroy = 1 {
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue