1
0
Fork 0
forked from wry/wry

wire: split messages into requests and events

This commit is contained in:
Julian Orth 2024-04-08 11:56:26 +02:00
parent 2b35f30ed4
commit c473d63df3
98 changed files with 495 additions and 486 deletions

View file

@ -1,8 +1,8 @@
# requests
msg destroy = 0 { }
request destroy = 0 { }
msg add = 1 {
request add = 1 {
fd: fd,
plane_idx: u32,
offset: u32,
@ -11,14 +11,14 @@ msg add = 1 {
modifier_lo: u32,
}
msg create = 2 {
request create = 2 {
width: i32,
height: i32,
format: u32,
flags: u32,
}
msg create_immed = 3 {
request create_immed = 3 {
buffer_id: id(wl_buffer),
width: i32,
height: i32,
@ -28,10 +28,10 @@ msg create_immed = 3 {
# events
msg created = 0 {
event created = 0 {
buffer: id(wl_buffer),
}
msg failed = 1 {
event failed = 1 {
}