diff --git a/autotests/folding/wayland.txt.fold b/autotests/folding/wayland.txt.fold new file mode 100644 index 0000000..da70da7 --- /dev/null +++ b/autotests/folding/wayland.txt.fold @@ -0,0 +1,212 @@ +[3152396,706] wl_display@1.get_registry(new id wl_registry@2) +[3152396,746] -> wl_registry@2.global(1, "zwp_text_input_manager_v2", 1) +[3152396,757] -> wl_registry@2.global(2, "wl_shell", 1) +[3152396,765] -> wl_registry@2.global(3, "zxdg_shell_v6", 1) +[3152396,773] -> wl_registry@2.global(4, "xdg_wm_base", 1) +[3152396,780] -> wl_registry@2.global(5, "wl_compositor", 3) +[3152396,788] -> wl_registry@2.global(6, "wl_subcompositor", 1) +[3152396,795] -> wl_registry@2.global(7, "wl_data_device_manager", 1) +[3152396,802] -> wl_registry@2.global(8, "wl_shm", 1) +[3152396,809] -> wl_registry@2.global(9, "qt_hardware_integration", 1) +[3152396,817] -> wl_registry@2.global(10, "zwp_linux_dmabuf_v1", 3) +[3152396,824] -> wl_registry@2.global(11, "wl_drm", 2) +[3152396,831] -> wl_registry@2.global(12, "wl_seat", 4) +[3152396,840] -> wl_registry@2.global(13, "wl_output", 2) +[3152396,850] wl_display@1.sync(new id wl_callback@3) +[3152396,862] -> wl_callback@3.done(0) +[3152396,881] -> wl_display@1.delete_id(3) +[3152397,399] wl_registry@2.bind(1, "zwp_text_input_manager_v2", 1, new id [unknown]@4) +[3152397,435] wl_registry@2.bind(5, "wl_compositor", 3, new id [unknown]@5) +[3152397,447] wl_registry@2.bind(6, "wl_subcompositor", 1, new id [unknown]@6) +[3152397,457] wl_registry@2.bind(7, "wl_data_device_manager", 1, new id [unknown]@7) +[3152397,468] wl_registry@2.bind(8, "wl_shm", 1, new id [unknown]@8) +[3152397,481] -> wl_shm@8.format(0) +[3152397,486] -> wl_shm@8.format(1) +[3152397,490] -> wl_shm@8.format(1) +[3152397,494] -> wl_shm@8.format(0) +[3152397,497] -> wl_shm@8.format(909199186) +[3152397,501] -> wl_shm@8.format(892424792) +[3152397,505] -> wl_shm@8.format(875710290) +[3152397,509] -> wl_shm@8.format(842093144) +[3152397,513] -> wl_shm@8.format(842093121) +[3152397,516] -> wl_shm@8.format(875709016) +[3152397,520] -> wl_shm@8.format(875708993) +[3152397,523] -> wl_shm@8.format(808665688) +[3152397,527] -> wl_shm@8.format(808665665) +[3152397,530] -> wl_shm@8.format(808669784) +[3152397,534] -> wl_shm@8.format(808669761) +[3152397,538] -> wl_shm@8.format(538982467) +[3152397,542] wl_registry@2.bind(9, "qt_hardware_integration", 1, new id [unknown]@9) +[3152397,558] -> qt_hardware_integration@9.client_backend("linux-dmabuf-unstable-v1") +[3152397,565] wl_display@1.sync(new id wl_callback@10) +[3152397,570] -> wl_callback@10.done(0) +[3152397,574] -> wl_display@1.delete_id(10) +[3152397,578] wl_registry@2.bind(12, "wl_seat", 4, new id [unknown]@11) +[3152397,589] -> wl_seat@11.capabilities(7) +[3152397,594] wl_data_device_manager@7.get_data_device(new id wl_data_device@12, wl_seat@11) +[3152397,610] zwp_text_input_manager_v2@4.get_text_input(new id zwp_text_input_v2@13, wl_seat@11) +[3152397,633] -> zwp_text_input_v2@13.modifiers_map(array) +[3152397,638] wl_registry@2.bind(13, "wl_output", 2, new id [unknown]@14) +[3152397,650] -> wl_output@14.geometry(0, 0, -1, -1, 0, "", "", 0) +[3152397,666] -> wl_output@14.scale(1) +[3152397,670] -> wl_output@14.done() +[3152397,674] wl_display@1.sync(new id wl_callback@15) +[3152397,680] -> wl_callback@15.done(0) +[3152397,684] -> wl_display@1.delete_id(15) +[3152397,841] wl_seat@11.get_keyboard(new id wl_keyboard@10) +[3152397,869] -> wl_keyboard@10.repeat_info(40, 400) +[3152397,878] -> wl_keyboard@10.keymap(1, fd 25, 48097) +[3152397,886] wl_seat@11.get_pointer(new id wl_pointer@3) +[3152397,893] wl_compositor@5.create_surface(new id wl_surface@16) +[3152397,915] wl_seat@11.get_touch(new id wl_touch@17) +[3152416,849] wl_display@1.get_registry(new id wl_registry@15) +[3152416,873] -> wl_registry@15.global(1, "zwp_text_input_manager_v2", 1) +[3152416,885] -> wl_registry@15.global(2, "wl_shell", 1) +[3152416,895] -> wl_registry@15.global(3, "zxdg_shell_v6", 1) +[3152416,904] -> wl_registry@15.global(4, "xdg_wm_base", 1) +[3152416,912] -> wl_registry@15.global(5, "wl_compositor", 3) +[3152416,920] -> wl_registry@15.global(6, "wl_subcompositor", 1) +[3152416,929] -> wl_registry@15.global(7, "wl_data_device_manager", 1) +[3152416,949] -> wl_registry@15.global(8, "wl_shm", 1) +[3152416,960] -> wl_registry@15.global(9, "qt_hardware_integration", 1) +[3152416,970] -> wl_registry@15.global(10, "zwp_linux_dmabuf_v1", 3) +[3152416,981] -> wl_registry@15.global(11, "wl_drm", 2) +[3152416,991] -> wl_registry@15.global(12, "wl_seat", 4) +[3152417,000] -> wl_registry@15.global(13, "wl_output", 2) +[3152417,011] wl_display@1.sync(new id wl_callback@18) +[3152417,020] -> wl_callback@18.done(0) +[3152417,027] -> wl_display@1.delete_id(18) +[3152417,129] wl_registry@15.bind(10, "zwp_linux_dmabuf_v1", 3, new id [unknown]@19) +[3152417,177] -> zwp_linux_dmabuf_v1@19.modifier(943215175, 0, 0) +[3152417,190] -> zwp_linux_dmabuf_v1@19.modifier(943215175, 16777216, 1) +[3152417,200] -> zwp_linux_dmabuf_v1@19.modifier(943215175, 16777216, 2) +[3152417,212] -> zwp_linux_dmabuf_v1@19.modifier(540422482, 0, 0) +[3152417,222] -> zwp_linux_dmabuf_v1@19.modifier(540422482, 16777216, 1) +[3152417,231] -> zwp_linux_dmabuf_v1@19.modifier(540422482, 16777216, 2) +[3152417,240] -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 0, 0) +[3152417,265] -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 16777216, 1) +[3152417,275] -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 16777216, 2) +[3152417,294] -> zwp_linux_dmabuf_v1@19.modifier(875713112, 0, 0) +[3152417,303] -> zwp_linux_dmabuf_v1@19.modifier(875713112, 16777216, 1) +[3152417,311] -> zwp_linux_dmabuf_v1@19.modifier(875713112, 16777216, 2) +[3152417,320] -> zwp_linux_dmabuf_v1@19.modifier(808669761, 0, 0) +[3152417,328] -> zwp_linux_dmabuf_v1@19.modifier(808669761, 16777216, 1) +[3152417,347] -> zwp_linux_dmabuf_v1@19.modifier(808669761, 16777216, 2) +[3152417,357] -> zwp_linux_dmabuf_v1@19.modifier(842093913, 0, 0) +[3152417,364] -> zwp_linux_dmabuf_v1@19.modifier(842093913, 16777216, 1) +[3152417,370] -> zwp_linux_dmabuf_v1@19.modifier(842093913, 16777216, 2) +[3152417,377] -> zwp_linux_dmabuf_v1@19.modifier(842094158, 0, 0) +[3152417,386] -> zwp_linux_dmabuf_v1@19.modifier(842094158, 16777216, 1) +[3152417,396] -> zwp_linux_dmabuf_v1@19.modifier(842094158, 16777216, 2) +[3152417,404] -> zwp_linux_dmabuf_v1@19.modifier(909202777, 0, 0) +[3152417,410] -> zwp_linux_dmabuf_v1@19.modifier(909202777, 16777216, 1) +[3152417,417] -> zwp_linux_dmabuf_v1@19.modifier(909202777, 16777216, 2) +[3152417,424] -> zwp_linux_dmabuf_v1@19.modifier(538982482, 0, 0) +[3152417,430] -> zwp_linux_dmabuf_v1@19.modifier(538982482, 16777216, 1) +[3152417,437] -> zwp_linux_dmabuf_v1@19.modifier(538982482, 16777216, 2) +[3152417,443] -> zwp_linux_dmabuf_v1@19.modifier(909203022, 0, 0) +[3152417,450] -> zwp_linux_dmabuf_v1@19.modifier(909203022, 16777216, 1) +[3152417,457] -> zwp_linux_dmabuf_v1@19.modifier(909203022, 16777216, 2) +[3152417,464] -> zwp_linux_dmabuf_v1@19.modifier(961893977, 0, 0) +[3152417,470] -> zwp_linux_dmabuf_v1@19.modifier(961893977, 16777216, 1) +[3152417,477] -> zwp_linux_dmabuf_v1@19.modifier(961893977, 16777216, 2) +[3152417,484] -> zwp_linux_dmabuf_v1@19.modifier(842094169, 0, 0) +[3152417,491] -> zwp_linux_dmabuf_v1@19.modifier(842094169, 16777216, 1) +[3152417,497] -> zwp_linux_dmabuf_v1@19.modifier(842094169, 16777216, 2) +[3152417,504] -> zwp_linux_dmabuf_v1@19.modifier(875709016, 0, 0) +[3152417,511] -> zwp_linux_dmabuf_v1@19.modifier(875709016, 16777216, 1) +[3152417,517] -> zwp_linux_dmabuf_v1@19.modifier(875709016, 16777216, 2) +[3152417,524] -> zwp_linux_dmabuf_v1@19.modifier(825316697, 0, 0) +[3152417,531] -> zwp_linux_dmabuf_v1@19.modifier(825316697, 16777216, 1) +[3152417,537] -> zwp_linux_dmabuf_v1@19.modifier(825316697, 16777216, 2) +[3152417,546] -> zwp_linux_dmabuf_v1@19.modifier(892424769, 0, 0) +[3152417,553] -> zwp_linux_dmabuf_v1@19.modifier(892424769, 16777216, 1) +[3152417,560] -> zwp_linux_dmabuf_v1@19.modifier(892424769, 16777216, 2) +[3152417,566] -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 0, 0) +[3152417,573] -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 16777216, 1) +[3152417,580] -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 16777216, 2) +[3152417,586] -> zwp_linux_dmabuf_v1@19.modifier(875713089, 0, 0) +[3152417,593] -> zwp_linux_dmabuf_v1@19.modifier(875713089, 16777216, 1) +[3152417,600] -> zwp_linux_dmabuf_v1@19.modifier(875713089, 16777216, 2) +[3152417,607] -> zwp_linux_dmabuf_v1@19.modifier(909203033, 0, 0) +[3152417,613] -> zwp_linux_dmabuf_v1@19.modifier(909203033, 16777216, 1) +[3152417,620] -> zwp_linux_dmabuf_v1@19.modifier(909203033, 16777216, 2) +[3152417,627] -> zwp_linux_dmabuf_v1@19.modifier(875713881, 0, 0) +[3152417,633] -> zwp_linux_dmabuf_v1@19.modifier(875713881, 16777216, 1) +[3152417,640] -> zwp_linux_dmabuf_v1@19.modifier(875713881, 16777216, 2) +[3152417,648] -> zwp_linux_dmabuf_v1@19.modifier(909199186, 0, 0) +[3152417,655] -> zwp_linux_dmabuf_v1@19.modifier(909199186, 16777216, 1) +[3152417,662] -> zwp_linux_dmabuf_v1@19.modifier(909199186, 16777216, 2) +[3152417,668] -> zwp_linux_dmabuf_v1@19.modifier(825316953, 0, 0) +[3152417,675] -> zwp_linux_dmabuf_v1@19.modifier(825316953, 16777216, 1) +[3152417,682] -> zwp_linux_dmabuf_v1@19.modifier(825316953, 16777216, 2) +[3152417,689] -> zwp_linux_dmabuf_v1@19.modifier(842224199, 0, 0) +[3152417,695] -> zwp_linux_dmabuf_v1@19.modifier(842224199, 16777216, 1) +[3152417,702] -> zwp_linux_dmabuf_v1@19.modifier(842224199, 16777216, 2) +[3152417,709] -> zwp_linux_dmabuf_v1@19.modifier(875708993, 0, 0) +[3152417,715] -> zwp_linux_dmabuf_v1@19.modifier(875708993, 16777216, 1) +[3152417,722] -> zwp_linux_dmabuf_v1@19.modifier(875708993, 16777216, 2) +[3152417,728] -> zwp_linux_dmabuf_v1@19.modifier(875714137, 0, 0) +[3152417,735] -> zwp_linux_dmabuf_v1@19.modifier(875714137, 16777216, 1) +[3152417,742] -> zwp_linux_dmabuf_v1@19.modifier(875714137, 16777216, 2) +[3152417,748] -> zwp_linux_dmabuf_v1@19.modifier(808669784, 0, 0) +[3152417,755] -> zwp_linux_dmabuf_v1@19.modifier(808669784, 16777216, 1) +[3152417,762] -> zwp_linux_dmabuf_v1@19.modifier(808669784, 16777216, 2) +[3152417,769] -> zwp_linux_dmabuf_v1@19.modifier(961959257, 0, 0) +[3152417,775] -> zwp_linux_dmabuf_v1@19.modifier(961959257, 16777216, 1) +[3152417,782] -> zwp_linux_dmabuf_v1@19.modifier(961959257, 16777216, 2) +[3152417,796] wl_registry@15.bind(11, "wl_drm", 2, new id [unknown]@20) +[3152417,819] -> wl_drm@20.device("/dev/dri/renderD128") +[3152417,824] -> wl_drm@20.format(808669761) +[3152417,828] -> wl_drm@20.format(808669784) +[3152417,832] -> wl_drm@20.format(875713089) +[3152417,835] -> wl_drm@20.format(875713112) +[3152417,839] -> wl_drm@20.format(909199186) +[3152417,843] -> wl_drm@20.format(961959257) +[3152417,847] -> wl_drm@20.format(825316697) +[3152417,850] -> wl_drm@20.format(842093913) +[3152417,854] -> wl_drm@20.format(909202777) +[3152417,858] -> wl_drm@20.format(875713881) +[3152417,861] -> wl_drm@20.format(842094158) +[3152417,865] -> wl_drm@20.format(909203022) +[3152417,868] -> wl_drm@20.format(1448695129) +[3152417,872] -> wl_drm@20.capabilities(1) +[3152417,877] wl_display@1.sync(new id wl_callback@18) +[3152417,883] -> wl_callback@18.done(0) +[3152417,887] -> wl_display@1.delete_id(18) +[3152418,116] wl_display@1.sync(new id wl_callback@18) +[3152418,129] -> wl_callback@18.done(0) +[3152418,135] -> wl_display@1.delete_id(18) +[3152448,322] wl_compositor@5.create_surface(new id wl_surface@18) +[3152448,373] wl_registry@2.bind(4, "xdg_wm_base", 1, new id [unknown]@21) +[3152448,395] xdg_wm_base@21.get_xdg_surface(new id xdg_surface@22, wl_surface@18) +[3152448,416] xdg_surface@22.get_toplevel(new id xdg_toplevel@23) +[3152448,443] -> xdg_toplevel@23.configure(0, 0, array) +[3152448,456] -> xdg_surface@22.configure(1) +[3152449,526] xdg_toplevel@23.set_title("qml-client") +[3152449,546] xdg_toplevel@23.set_app_id("qml-client") +[3152449,552] wl_surface@18.set_buffer_scale(1) +[3152449,558] wl_surface@18.set_buffer_transform(0) +[3152449,566] wl_surface@18.commit() +[3152567,769] xdg_surface@22.set_window_geometry(0, 0, 506, 533) +[3152567,824] xdg_surface@22.ack_configure(1) +[3152567,842] wl_compositor@5.create_surface(new id wl_surface@24) +[3152567,899] wl_surface@24.destroy() +[3152567,948] -> wl_display@1.delete_id(24) +[3152567,961] wl_surface@18.damage(0, 0, 506, 30) +[3152567,981] wl_surface@18.damage(509, 0, 3, 30) +[3152568,001] wl_surface@18.damage(0, 30, 3, 503) +[3152568,019] wl_surface@18.damage(509, 30, 3, 503) +[3152568,038] wl_surface@18.damage(0, 563, 506, 3) +[3152568,056] wl_surface@18.frame(new id wl_callback@25) +[3152568,069] zwp_linux_dmabuf_v1@19.create_params(new id zwp_linux_buffer_params_v1@26) +[3152568,133] zwp_linux_buffer_params_v1@26.add(fd 25, 0, 0, 2048, 16777216, 2) +[3152568,163] zwp_linux_buffer_params_v1@26.create_immed(new id wl_buffer@27, 506, 533, 875713089, 0) +[3152568,323] zwp_linux_buffer_params_v1@26.destroy() +[3152568,354] -> wl_display@1.delete_id(26) +[3152568,362] wl_surface@18.attach(wl_buffer@27, 0, 0) +[3152568,396] wl_surface@18.damage(0, 0, 2147483647, 2147483647) +[3152568,409] wl_surface@18.commit() +[3152573,974] -> wl_surface@18.enter(wl_output@14) +[3152574,009] -> wl_callback@25.done(16158) +[3152574,022] -> wl_display@1.delete_id(25) diff --git a/autotests/html/wayland.txt.html b/autotests/html/wayland.txt.html new file mode 100644 index 0000000..e7daea5 --- /dev/null +++ b/autotests/html/wayland.txt.html @@ -0,0 +1,219 @@ + + + +wayland.txt + +
+[3152396,706] wl_display@1.get_registry(new id wl_registry@2)
+[3152396,746]  -> wl_registry@2.global(1, "zwp_text_input_manager_v2", 1)
+[3152396,757]  -> wl_registry@2.global(2, "wl_shell", 1)
+[3152396,765]  -> wl_registry@2.global(3, "zxdg_shell_v6", 1)
+[3152396,773]  -> wl_registry@2.global(4, "xdg_wm_base", 1)
+[3152396,780]  -> wl_registry@2.global(5, "wl_compositor", 3)
+[3152396,788]  -> wl_registry@2.global(6, "wl_subcompositor", 1)
+[3152396,795]  -> wl_registry@2.global(7, "wl_data_device_manager", 1)
+[3152396,802]  -> wl_registry@2.global(8, "wl_shm", 1)
+[3152396,809]  -> wl_registry@2.global(9, "qt_hardware_integration", 1)
+[3152396,817]  -> wl_registry@2.global(10, "zwp_linux_dmabuf_v1", 3)
+[3152396,824]  -> wl_registry@2.global(11, "wl_drm", 2)
+[3152396,831]  -> wl_registry@2.global(12, "wl_seat", 4)
+[3152396,840]  -> wl_registry@2.global(13, "wl_output", 2)
+[3152396,850] wl_display@1.sync(new id wl_callback@3)
+[3152396,862]  -> wl_callback@3.done(0)
+[3152396,881]  -> wl_display@1.delete_id(3)
+[3152397,399] wl_registry@2.bind(1, "zwp_text_input_manager_v2", 1, new id [unknown]@4)
+[3152397,435] wl_registry@2.bind(5, "wl_compositor", 3, new id [unknown]@5)
+[3152397,447] wl_registry@2.bind(6, "wl_subcompositor", 1, new id [unknown]@6)
+[3152397,457] wl_registry@2.bind(7, "wl_data_device_manager", 1, new id [unknown]@7)
+[3152397,468] wl_registry@2.bind(8, "wl_shm", 1, new id [unknown]@8)
+[3152397,481]  -> wl_shm@8.format(0)
+[3152397,486]  -> wl_shm@8.format(1)
+[3152397,490]  -> wl_shm@8.format(1)
+[3152397,494]  -> wl_shm@8.format(0)
+[3152397,497]  -> wl_shm@8.format(909199186)
+[3152397,501]  -> wl_shm@8.format(892424792)
+[3152397,505]  -> wl_shm@8.format(875710290)
+[3152397,509]  -> wl_shm@8.format(842093144)
+[3152397,513]  -> wl_shm@8.format(842093121)
+[3152397,516]  -> wl_shm@8.format(875709016)
+[3152397,520]  -> wl_shm@8.format(875708993)
+[3152397,523]  -> wl_shm@8.format(808665688)
+[3152397,527]  -> wl_shm@8.format(808665665)
+[3152397,530]  -> wl_shm@8.format(808669784)
+[3152397,534]  -> wl_shm@8.format(808669761)
+[3152397,538]  -> wl_shm@8.format(538982467)
+[3152397,542] wl_registry@2.bind(9, "qt_hardware_integration", 1, new id [unknown]@9)
+[3152397,558]  -> qt_hardware_integration@9.client_backend("linux-dmabuf-unstable-v1")
+[3152397,565] wl_display@1.sync(new id wl_callback@10)
+[3152397,570]  -> wl_callback@10.done(0)
+[3152397,574]  -> wl_display@1.delete_id(10)
+[3152397,578] wl_registry@2.bind(12, "wl_seat", 4, new id [unknown]@11)
+[3152397,589]  -> wl_seat@11.capabilities(7)
+[3152397,594] wl_data_device_manager@7.get_data_device(new id wl_data_device@12, wl_seat@11)
+[3152397,610] zwp_text_input_manager_v2@4.get_text_input(new id zwp_text_input_v2@13, wl_seat@11)
+[3152397,633]  -> zwp_text_input_v2@13.modifiers_map(array)
+[3152397,638] wl_registry@2.bind(13, "wl_output", 2, new id [unknown]@14)
+[3152397,650]  -> wl_output@14.geometry(0, 0, -1, -1, 0, "", "", 0)
+[3152397,666]  -> wl_output@14.scale(1)
+[3152397,670]  -> wl_output@14.done()
+[3152397,674] wl_display@1.sync(new id wl_callback@15)
+[3152397,680]  -> wl_callback@15.done(0)
+[3152397,684]  -> wl_display@1.delete_id(15)
+[3152397,841] wl_seat@11.get_keyboard(new id wl_keyboard@10)
+[3152397,869]  -> wl_keyboard@10.repeat_info(40, 400)
+[3152397,878]  -> wl_keyboard@10.keymap(1, fd 25, 48097)
+[3152397,886] wl_seat@11.get_pointer(new id wl_pointer@3)
+[3152397,893] wl_compositor@5.create_surface(new id wl_surface@16)
+[3152397,915] wl_seat@11.get_touch(new id wl_touch@17)
+[3152416,849] wl_display@1.get_registry(new id wl_registry@15)
+[3152416,873]  -> wl_registry@15.global(1, "zwp_text_input_manager_v2", 1)
+[3152416,885]  -> wl_registry@15.global(2, "wl_shell", 1)
+[3152416,895]  -> wl_registry@15.global(3, "zxdg_shell_v6", 1)
+[3152416,904]  -> wl_registry@15.global(4, "xdg_wm_base", 1)
+[3152416,912]  -> wl_registry@15.global(5, "wl_compositor", 3)
+[3152416,920]  -> wl_registry@15.global(6, "wl_subcompositor", 1)
+[3152416,929]  -> wl_registry@15.global(7, "wl_data_device_manager", 1)
+[3152416,949]  -> wl_registry@15.global(8, "wl_shm", 1)
+[3152416,960]  -> wl_registry@15.global(9, "qt_hardware_integration", 1)
+[3152416,970]  -> wl_registry@15.global(10, "zwp_linux_dmabuf_v1", 3)
+[3152416,981]  -> wl_registry@15.global(11, "wl_drm", 2)
+[3152416,991]  -> wl_registry@15.global(12, "wl_seat", 4)
+[3152417,000]  -> wl_registry@15.global(13, "wl_output", 2)
+[3152417,011] wl_display@1.sync(new id wl_callback@18)
+[3152417,020]  -> wl_callback@18.done(0)
+[3152417,027]  -> wl_display@1.delete_id(18)
+[3152417,129] wl_registry@15.bind(10, "zwp_linux_dmabuf_v1", 3, new id [unknown]@19)
+[3152417,177]  -> zwp_linux_dmabuf_v1@19.modifier(943215175, 0, 0)
+[3152417,190]  -> zwp_linux_dmabuf_v1@19.modifier(943215175, 16777216, 1)
+[3152417,200]  -> zwp_linux_dmabuf_v1@19.modifier(943215175, 16777216, 2)
+[3152417,212]  -> zwp_linux_dmabuf_v1@19.modifier(540422482, 0, 0)
+[3152417,222]  -> zwp_linux_dmabuf_v1@19.modifier(540422482, 16777216, 1)
+[3152417,231]  -> zwp_linux_dmabuf_v1@19.modifier(540422482, 16777216, 2)
+[3152417,240]  -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 0, 0)
+[3152417,265]  -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 16777216, 1)
+[3152417,275]  -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 16777216, 2)
+[3152417,294]  -> zwp_linux_dmabuf_v1@19.modifier(875713112, 0, 0)
+[3152417,303]  -> zwp_linux_dmabuf_v1@19.modifier(875713112, 16777216, 1)
+[3152417,311]  -> zwp_linux_dmabuf_v1@19.modifier(875713112, 16777216, 2)
+[3152417,320]  -> zwp_linux_dmabuf_v1@19.modifier(808669761, 0, 0)
+[3152417,328]  -> zwp_linux_dmabuf_v1@19.modifier(808669761, 16777216, 1)
+[3152417,347]  -> zwp_linux_dmabuf_v1@19.modifier(808669761, 16777216, 2)
+[3152417,357]  -> zwp_linux_dmabuf_v1@19.modifier(842093913, 0, 0)
+[3152417,364]  -> zwp_linux_dmabuf_v1@19.modifier(842093913, 16777216, 1)
+[3152417,370]  -> zwp_linux_dmabuf_v1@19.modifier(842093913, 16777216, 2)
+[3152417,377]  -> zwp_linux_dmabuf_v1@19.modifier(842094158, 0, 0)
+[3152417,386]  -> zwp_linux_dmabuf_v1@19.modifier(842094158, 16777216, 1)
+[3152417,396]  -> zwp_linux_dmabuf_v1@19.modifier(842094158, 16777216, 2)
+[3152417,404]  -> zwp_linux_dmabuf_v1@19.modifier(909202777, 0, 0)
+[3152417,410]  -> zwp_linux_dmabuf_v1@19.modifier(909202777, 16777216, 1)
+[3152417,417]  -> zwp_linux_dmabuf_v1@19.modifier(909202777, 16777216, 2)
+[3152417,424]  -> zwp_linux_dmabuf_v1@19.modifier(538982482, 0, 0)
+[3152417,430]  -> zwp_linux_dmabuf_v1@19.modifier(538982482, 16777216, 1)
+[3152417,437]  -> zwp_linux_dmabuf_v1@19.modifier(538982482, 16777216, 2)
+[3152417,443]  -> zwp_linux_dmabuf_v1@19.modifier(909203022, 0, 0)
+[3152417,450]  -> zwp_linux_dmabuf_v1@19.modifier(909203022, 16777216, 1)
+[3152417,457]  -> zwp_linux_dmabuf_v1@19.modifier(909203022, 16777216, 2)
+[3152417,464]  -> zwp_linux_dmabuf_v1@19.modifier(961893977, 0, 0)
+[3152417,470]  -> zwp_linux_dmabuf_v1@19.modifier(961893977, 16777216, 1)
+[3152417,477]  -> zwp_linux_dmabuf_v1@19.modifier(961893977, 16777216, 2)
+[3152417,484]  -> zwp_linux_dmabuf_v1@19.modifier(842094169, 0, 0)
+[3152417,491]  -> zwp_linux_dmabuf_v1@19.modifier(842094169, 16777216, 1)
+[3152417,497]  -> zwp_linux_dmabuf_v1@19.modifier(842094169, 16777216, 2)
+[3152417,504]  -> zwp_linux_dmabuf_v1@19.modifier(875709016, 0, 0)
+[3152417,511]  -> zwp_linux_dmabuf_v1@19.modifier(875709016, 16777216, 1)
+[3152417,517]  -> zwp_linux_dmabuf_v1@19.modifier(875709016, 16777216, 2)
+[3152417,524]  -> zwp_linux_dmabuf_v1@19.modifier(825316697, 0, 0)
+[3152417,531]  -> zwp_linux_dmabuf_v1@19.modifier(825316697, 16777216, 1)
+[3152417,537]  -> zwp_linux_dmabuf_v1@19.modifier(825316697, 16777216, 2)
+[3152417,546]  -> zwp_linux_dmabuf_v1@19.modifier(892424769, 0, 0)
+[3152417,553]  -> zwp_linux_dmabuf_v1@19.modifier(892424769, 16777216, 1)
+[3152417,560]  -> zwp_linux_dmabuf_v1@19.modifier(892424769, 16777216, 2)
+[3152417,566]  -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 0, 0)
+[3152417,573]  -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 16777216, 1)
+[3152417,580]  -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 16777216, 2)
+[3152417,586]  -> zwp_linux_dmabuf_v1@19.modifier(875713089, 0, 0)
+[3152417,593]  -> zwp_linux_dmabuf_v1@19.modifier(875713089, 16777216, 1)
+[3152417,600]  -> zwp_linux_dmabuf_v1@19.modifier(875713089, 16777216, 2)
+[3152417,607]  -> zwp_linux_dmabuf_v1@19.modifier(909203033, 0, 0)
+[3152417,613]  -> zwp_linux_dmabuf_v1@19.modifier(909203033, 16777216, 1)
+[3152417,620]  -> zwp_linux_dmabuf_v1@19.modifier(909203033, 16777216, 2)
+[3152417,627]  -> zwp_linux_dmabuf_v1@19.modifier(875713881, 0, 0)
+[3152417,633]  -> zwp_linux_dmabuf_v1@19.modifier(875713881, 16777216, 1)
+[3152417,640]  -> zwp_linux_dmabuf_v1@19.modifier(875713881, 16777216, 2)
+[3152417,648]  -> zwp_linux_dmabuf_v1@19.modifier(909199186, 0, 0)
+[3152417,655]  -> zwp_linux_dmabuf_v1@19.modifier(909199186, 16777216, 1)
+[3152417,662]  -> zwp_linux_dmabuf_v1@19.modifier(909199186, 16777216, 2)
+[3152417,668]  -> zwp_linux_dmabuf_v1@19.modifier(825316953, 0, 0)
+[3152417,675]  -> zwp_linux_dmabuf_v1@19.modifier(825316953, 16777216, 1)
+[3152417,682]  -> zwp_linux_dmabuf_v1@19.modifier(825316953, 16777216, 2)
+[3152417,689]  -> zwp_linux_dmabuf_v1@19.modifier(842224199, 0, 0)
+[3152417,695]  -> zwp_linux_dmabuf_v1@19.modifier(842224199, 16777216, 1)
+[3152417,702]  -> zwp_linux_dmabuf_v1@19.modifier(842224199, 16777216, 2)
+[3152417,709]  -> zwp_linux_dmabuf_v1@19.modifier(875708993, 0, 0)
+[3152417,715]  -> zwp_linux_dmabuf_v1@19.modifier(875708993, 16777216, 1)
+[3152417,722]  -> zwp_linux_dmabuf_v1@19.modifier(875708993, 16777216, 2)
+[3152417,728]  -> zwp_linux_dmabuf_v1@19.modifier(875714137, 0, 0)
+[3152417,735]  -> zwp_linux_dmabuf_v1@19.modifier(875714137, 16777216, 1)
+[3152417,742]  -> zwp_linux_dmabuf_v1@19.modifier(875714137, 16777216, 2)
+[3152417,748]  -> zwp_linux_dmabuf_v1@19.modifier(808669784, 0, 0)
+[3152417,755]  -> zwp_linux_dmabuf_v1@19.modifier(808669784, 16777216, 1)
+[3152417,762]  -> zwp_linux_dmabuf_v1@19.modifier(808669784, 16777216, 2)
+[3152417,769]  -> zwp_linux_dmabuf_v1@19.modifier(961959257, 0, 0)
+[3152417,775]  -> zwp_linux_dmabuf_v1@19.modifier(961959257, 16777216, 1)
+[3152417,782]  -> zwp_linux_dmabuf_v1@19.modifier(961959257, 16777216, 2)
+[3152417,796] wl_registry@15.bind(11, "wl_drm", 2, new id [unknown]@20)
+[3152417,819]  -> wl_drm@20.device("/dev/dri/renderD128")
+[3152417,824]  -> wl_drm@20.format(808669761)
+[3152417,828]  -> wl_drm@20.format(808669784)
+[3152417,832]  -> wl_drm@20.format(875713089)
+[3152417,835]  -> wl_drm@20.format(875713112)
+[3152417,839]  -> wl_drm@20.format(909199186)
+[3152417,843]  -> wl_drm@20.format(961959257)
+[3152417,847]  -> wl_drm@20.format(825316697)
+[3152417,850]  -> wl_drm@20.format(842093913)
+[3152417,854]  -> wl_drm@20.format(909202777)
+[3152417,858]  -> wl_drm@20.format(875713881)
+[3152417,861]  -> wl_drm@20.format(842094158)
+[3152417,865]  -> wl_drm@20.format(909203022)
+[3152417,868]  -> wl_drm@20.format(1448695129)
+[3152417,872]  -> wl_drm@20.capabilities(1)
+[3152417,877] wl_display@1.sync(new id wl_callback@18)
+[3152417,883]  -> wl_callback@18.done(0)
+[3152417,887]  -> wl_display@1.delete_id(18)
+[3152418,116] wl_display@1.sync(new id wl_callback@18)
+[3152418,129]  -> wl_callback@18.done(0)
+[3152418,135]  -> wl_display@1.delete_id(18)
+[3152448,322] wl_compositor@5.create_surface(new id wl_surface@18)
+[3152448,373] wl_registry@2.bind(4, "xdg_wm_base", 1, new id [unknown]@21)
+[3152448,395] xdg_wm_base@21.get_xdg_surface(new id xdg_surface@22, wl_surface@18)
+[3152448,416] xdg_surface@22.get_toplevel(new id xdg_toplevel@23)
+[3152448,443]  -> xdg_toplevel@23.configure(0, 0, array)
+[3152448,456]  -> xdg_surface@22.configure(1)
+[3152449,526] xdg_toplevel@23.set_title("qml-client")
+[3152449,546] xdg_toplevel@23.set_app_id("qml-client")
+[3152449,552] wl_surface@18.set_buffer_scale(1)
+[3152449,558] wl_surface@18.set_buffer_transform(0)
+[3152449,566] wl_surface@18.commit()
+[3152567,769] xdg_surface@22.set_window_geometry(0, 0, 506, 533)
+[3152567,824] xdg_surface@22.ack_configure(1)
+[3152567,842] wl_compositor@5.create_surface(new id wl_surface@24)
+[3152567,899] wl_surface@24.destroy()
+[3152567,948]  -> wl_display@1.delete_id(24)
+[3152567,961] wl_surface@18.damage(0, 0, 506, 30)
+[3152567,981] wl_surface@18.damage(509, 0, 3, 30)
+[3152568,001] wl_surface@18.damage(0, 30, 3, 503)
+[3152568,019] wl_surface@18.damage(509, 30, 3, 503)
+[3152568,038] wl_surface@18.damage(0, 563, 506, 3)
+[3152568,056] wl_surface@18.frame(new id wl_callback@25)
+[3152568,069] zwp_linux_dmabuf_v1@19.create_params(new id zwp_linux_buffer_params_v1@26)
+[3152568,133] zwp_linux_buffer_params_v1@26.add(fd 25, 0, 0, 2048, 16777216, 2)
+[3152568,163] zwp_linux_buffer_params_v1@26.create_immed(new id wl_buffer@27, 506, 533, 875713089, 0)
+[3152568,323] zwp_linux_buffer_params_v1@26.destroy()
+[3152568,354]  -> wl_display@1.delete_id(26)
+[3152568,362] wl_surface@18.attach(wl_buffer@27, 0, 0)
+[3152568,396] wl_surface@18.damage(0, 0, 2147483647, 2147483647)
+[3152568,409] wl_surface@18.commit()
+[3152573,974]  -> wl_surface@18.enter(wl_output@14)
+[3152574,009]  -> wl_callback@25.done(16158)
+[3152574,022]  -> wl_display@1.delete_id(25)
+
diff --git a/autotests/input/wayland.txt b/autotests/input/wayland.txt new file mode 100644 index 0000000..da70da7 --- /dev/null +++ b/autotests/input/wayland.txt @@ -0,0 +1,212 @@ +[3152396,706] wl_display@1.get_registry(new id wl_registry@2) +[3152396,746] -> wl_registry@2.global(1, "zwp_text_input_manager_v2", 1) +[3152396,757] -> wl_registry@2.global(2, "wl_shell", 1) +[3152396,765] -> wl_registry@2.global(3, "zxdg_shell_v6", 1) +[3152396,773] -> wl_registry@2.global(4, "xdg_wm_base", 1) +[3152396,780] -> wl_registry@2.global(5, "wl_compositor", 3) +[3152396,788] -> wl_registry@2.global(6, "wl_subcompositor", 1) +[3152396,795] -> wl_registry@2.global(7, "wl_data_device_manager", 1) +[3152396,802] -> wl_registry@2.global(8, "wl_shm", 1) +[3152396,809] -> wl_registry@2.global(9, "qt_hardware_integration", 1) +[3152396,817] -> wl_registry@2.global(10, "zwp_linux_dmabuf_v1", 3) +[3152396,824] -> wl_registry@2.global(11, "wl_drm", 2) +[3152396,831] -> wl_registry@2.global(12, "wl_seat", 4) +[3152396,840] -> wl_registry@2.global(13, "wl_output", 2) +[3152396,850] wl_display@1.sync(new id wl_callback@3) +[3152396,862] -> wl_callback@3.done(0) +[3152396,881] -> wl_display@1.delete_id(3) +[3152397,399] wl_registry@2.bind(1, "zwp_text_input_manager_v2", 1, new id [unknown]@4) +[3152397,435] wl_registry@2.bind(5, "wl_compositor", 3, new id [unknown]@5) +[3152397,447] wl_registry@2.bind(6, "wl_subcompositor", 1, new id [unknown]@6) +[3152397,457] wl_registry@2.bind(7, "wl_data_device_manager", 1, new id [unknown]@7) +[3152397,468] wl_registry@2.bind(8, "wl_shm", 1, new id [unknown]@8) +[3152397,481] -> wl_shm@8.format(0) +[3152397,486] -> wl_shm@8.format(1) +[3152397,490] -> wl_shm@8.format(1) +[3152397,494] -> wl_shm@8.format(0) +[3152397,497] -> wl_shm@8.format(909199186) +[3152397,501] -> wl_shm@8.format(892424792) +[3152397,505] -> wl_shm@8.format(875710290) +[3152397,509] -> wl_shm@8.format(842093144) +[3152397,513] -> wl_shm@8.format(842093121) +[3152397,516] -> wl_shm@8.format(875709016) +[3152397,520] -> wl_shm@8.format(875708993) +[3152397,523] -> wl_shm@8.format(808665688) +[3152397,527] -> wl_shm@8.format(808665665) +[3152397,530] -> wl_shm@8.format(808669784) +[3152397,534] -> wl_shm@8.format(808669761) +[3152397,538] -> wl_shm@8.format(538982467) +[3152397,542] wl_registry@2.bind(9, "qt_hardware_integration", 1, new id [unknown]@9) +[3152397,558] -> qt_hardware_integration@9.client_backend("linux-dmabuf-unstable-v1") +[3152397,565] wl_display@1.sync(new id wl_callback@10) +[3152397,570] -> wl_callback@10.done(0) +[3152397,574] -> wl_display@1.delete_id(10) +[3152397,578] wl_registry@2.bind(12, "wl_seat", 4, new id [unknown]@11) +[3152397,589] -> wl_seat@11.capabilities(7) +[3152397,594] wl_data_device_manager@7.get_data_device(new id wl_data_device@12, wl_seat@11) +[3152397,610] zwp_text_input_manager_v2@4.get_text_input(new id zwp_text_input_v2@13, wl_seat@11) +[3152397,633] -> zwp_text_input_v2@13.modifiers_map(array) +[3152397,638] wl_registry@2.bind(13, "wl_output", 2, new id [unknown]@14) +[3152397,650] -> wl_output@14.geometry(0, 0, -1, -1, 0, "", "", 0) +[3152397,666] -> wl_output@14.scale(1) +[3152397,670] -> wl_output@14.done() +[3152397,674] wl_display@1.sync(new id wl_callback@15) +[3152397,680] -> wl_callback@15.done(0) +[3152397,684] -> wl_display@1.delete_id(15) +[3152397,841] wl_seat@11.get_keyboard(new id wl_keyboard@10) +[3152397,869] -> wl_keyboard@10.repeat_info(40, 400) +[3152397,878] -> wl_keyboard@10.keymap(1, fd 25, 48097) +[3152397,886] wl_seat@11.get_pointer(new id wl_pointer@3) +[3152397,893] wl_compositor@5.create_surface(new id wl_surface@16) +[3152397,915] wl_seat@11.get_touch(new id wl_touch@17) +[3152416,849] wl_display@1.get_registry(new id wl_registry@15) +[3152416,873] -> wl_registry@15.global(1, "zwp_text_input_manager_v2", 1) +[3152416,885] -> wl_registry@15.global(2, "wl_shell", 1) +[3152416,895] -> wl_registry@15.global(3, "zxdg_shell_v6", 1) +[3152416,904] -> wl_registry@15.global(4, "xdg_wm_base", 1) +[3152416,912] -> wl_registry@15.global(5, "wl_compositor", 3) +[3152416,920] -> wl_registry@15.global(6, "wl_subcompositor", 1) +[3152416,929] -> wl_registry@15.global(7, "wl_data_device_manager", 1) +[3152416,949] -> wl_registry@15.global(8, "wl_shm", 1) +[3152416,960] -> wl_registry@15.global(9, "qt_hardware_integration", 1) +[3152416,970] -> wl_registry@15.global(10, "zwp_linux_dmabuf_v1", 3) +[3152416,981] -> wl_registry@15.global(11, "wl_drm", 2) +[3152416,991] -> wl_registry@15.global(12, "wl_seat", 4) +[3152417,000] -> wl_registry@15.global(13, "wl_output", 2) +[3152417,011] wl_display@1.sync(new id wl_callback@18) +[3152417,020] -> wl_callback@18.done(0) +[3152417,027] -> wl_display@1.delete_id(18) +[3152417,129] wl_registry@15.bind(10, "zwp_linux_dmabuf_v1", 3, new id [unknown]@19) +[3152417,177] -> zwp_linux_dmabuf_v1@19.modifier(943215175, 0, 0) +[3152417,190] -> zwp_linux_dmabuf_v1@19.modifier(943215175, 16777216, 1) +[3152417,200] -> zwp_linux_dmabuf_v1@19.modifier(943215175, 16777216, 2) +[3152417,212] -> zwp_linux_dmabuf_v1@19.modifier(540422482, 0, 0) +[3152417,222] -> zwp_linux_dmabuf_v1@19.modifier(540422482, 16777216, 1) +[3152417,231] -> zwp_linux_dmabuf_v1@19.modifier(540422482, 16777216, 2) +[3152417,240] -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 0, 0) +[3152417,265] -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 16777216, 1) +[3152417,275] -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 16777216, 2) +[3152417,294] -> zwp_linux_dmabuf_v1@19.modifier(875713112, 0, 0) +[3152417,303] -> zwp_linux_dmabuf_v1@19.modifier(875713112, 16777216, 1) +[3152417,311] -> zwp_linux_dmabuf_v1@19.modifier(875713112, 16777216, 2) +[3152417,320] -> zwp_linux_dmabuf_v1@19.modifier(808669761, 0, 0) +[3152417,328] -> zwp_linux_dmabuf_v1@19.modifier(808669761, 16777216, 1) +[3152417,347] -> zwp_linux_dmabuf_v1@19.modifier(808669761, 16777216, 2) +[3152417,357] -> zwp_linux_dmabuf_v1@19.modifier(842093913, 0, 0) +[3152417,364] -> zwp_linux_dmabuf_v1@19.modifier(842093913, 16777216, 1) +[3152417,370] -> zwp_linux_dmabuf_v1@19.modifier(842093913, 16777216, 2) +[3152417,377] -> zwp_linux_dmabuf_v1@19.modifier(842094158, 0, 0) +[3152417,386] -> zwp_linux_dmabuf_v1@19.modifier(842094158, 16777216, 1) +[3152417,396] -> zwp_linux_dmabuf_v1@19.modifier(842094158, 16777216, 2) +[3152417,404] -> zwp_linux_dmabuf_v1@19.modifier(909202777, 0, 0) +[3152417,410] -> zwp_linux_dmabuf_v1@19.modifier(909202777, 16777216, 1) +[3152417,417] -> zwp_linux_dmabuf_v1@19.modifier(909202777, 16777216, 2) +[3152417,424] -> zwp_linux_dmabuf_v1@19.modifier(538982482, 0, 0) +[3152417,430] -> zwp_linux_dmabuf_v1@19.modifier(538982482, 16777216, 1) +[3152417,437] -> zwp_linux_dmabuf_v1@19.modifier(538982482, 16777216, 2) +[3152417,443] -> zwp_linux_dmabuf_v1@19.modifier(909203022, 0, 0) +[3152417,450] -> zwp_linux_dmabuf_v1@19.modifier(909203022, 16777216, 1) +[3152417,457] -> zwp_linux_dmabuf_v1@19.modifier(909203022, 16777216, 2) +[3152417,464] -> zwp_linux_dmabuf_v1@19.modifier(961893977, 0, 0) +[3152417,470] -> zwp_linux_dmabuf_v1@19.modifier(961893977, 16777216, 1) +[3152417,477] -> zwp_linux_dmabuf_v1@19.modifier(961893977, 16777216, 2) +[3152417,484] -> zwp_linux_dmabuf_v1@19.modifier(842094169, 0, 0) +[3152417,491] -> zwp_linux_dmabuf_v1@19.modifier(842094169, 16777216, 1) +[3152417,497] -> zwp_linux_dmabuf_v1@19.modifier(842094169, 16777216, 2) +[3152417,504] -> zwp_linux_dmabuf_v1@19.modifier(875709016, 0, 0) +[3152417,511] -> zwp_linux_dmabuf_v1@19.modifier(875709016, 16777216, 1) +[3152417,517] -> zwp_linux_dmabuf_v1@19.modifier(875709016, 16777216, 2) +[3152417,524] -> zwp_linux_dmabuf_v1@19.modifier(825316697, 0, 0) +[3152417,531] -> zwp_linux_dmabuf_v1@19.modifier(825316697, 16777216, 1) +[3152417,537] -> zwp_linux_dmabuf_v1@19.modifier(825316697, 16777216, 2) +[3152417,546] -> zwp_linux_dmabuf_v1@19.modifier(892424769, 0, 0) +[3152417,553] -> zwp_linux_dmabuf_v1@19.modifier(892424769, 16777216, 1) +[3152417,560] -> zwp_linux_dmabuf_v1@19.modifier(892424769, 16777216, 2) +[3152417,566] -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 0, 0) +[3152417,573] -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 16777216, 1) +[3152417,580] -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 16777216, 2) +[3152417,586] -> zwp_linux_dmabuf_v1@19.modifier(875713089, 0, 0) +[3152417,593] -> zwp_linux_dmabuf_v1@19.modifier(875713089, 16777216, 1) +[3152417,600] -> zwp_linux_dmabuf_v1@19.modifier(875713089, 16777216, 2) +[3152417,607] -> zwp_linux_dmabuf_v1@19.modifier(909203033, 0, 0) +[3152417,613] -> zwp_linux_dmabuf_v1@19.modifier(909203033, 16777216, 1) +[3152417,620] -> zwp_linux_dmabuf_v1@19.modifier(909203033, 16777216, 2) +[3152417,627] -> zwp_linux_dmabuf_v1@19.modifier(875713881, 0, 0) +[3152417,633] -> zwp_linux_dmabuf_v1@19.modifier(875713881, 16777216, 1) +[3152417,640] -> zwp_linux_dmabuf_v1@19.modifier(875713881, 16777216, 2) +[3152417,648] -> zwp_linux_dmabuf_v1@19.modifier(909199186, 0, 0) +[3152417,655] -> zwp_linux_dmabuf_v1@19.modifier(909199186, 16777216, 1) +[3152417,662] -> zwp_linux_dmabuf_v1@19.modifier(909199186, 16777216, 2) +[3152417,668] -> zwp_linux_dmabuf_v1@19.modifier(825316953, 0, 0) +[3152417,675] -> zwp_linux_dmabuf_v1@19.modifier(825316953, 16777216, 1) +[3152417,682] -> zwp_linux_dmabuf_v1@19.modifier(825316953, 16777216, 2) +[3152417,689] -> zwp_linux_dmabuf_v1@19.modifier(842224199, 0, 0) +[3152417,695] -> zwp_linux_dmabuf_v1@19.modifier(842224199, 16777216, 1) +[3152417,702] -> zwp_linux_dmabuf_v1@19.modifier(842224199, 16777216, 2) +[3152417,709] -> zwp_linux_dmabuf_v1@19.modifier(875708993, 0, 0) +[3152417,715] -> zwp_linux_dmabuf_v1@19.modifier(875708993, 16777216, 1) +[3152417,722] -> zwp_linux_dmabuf_v1@19.modifier(875708993, 16777216, 2) +[3152417,728] -> zwp_linux_dmabuf_v1@19.modifier(875714137, 0, 0) +[3152417,735] -> zwp_linux_dmabuf_v1@19.modifier(875714137, 16777216, 1) +[3152417,742] -> zwp_linux_dmabuf_v1@19.modifier(875714137, 16777216, 2) +[3152417,748] -> zwp_linux_dmabuf_v1@19.modifier(808669784, 0, 0) +[3152417,755] -> zwp_linux_dmabuf_v1@19.modifier(808669784, 16777216, 1) +[3152417,762] -> zwp_linux_dmabuf_v1@19.modifier(808669784, 16777216, 2) +[3152417,769] -> zwp_linux_dmabuf_v1@19.modifier(961959257, 0, 0) +[3152417,775] -> zwp_linux_dmabuf_v1@19.modifier(961959257, 16777216, 1) +[3152417,782] -> zwp_linux_dmabuf_v1@19.modifier(961959257, 16777216, 2) +[3152417,796] wl_registry@15.bind(11, "wl_drm", 2, new id [unknown]@20) +[3152417,819] -> wl_drm@20.device("/dev/dri/renderD128") +[3152417,824] -> wl_drm@20.format(808669761) +[3152417,828] -> wl_drm@20.format(808669784) +[3152417,832] -> wl_drm@20.format(875713089) +[3152417,835] -> wl_drm@20.format(875713112) +[3152417,839] -> wl_drm@20.format(909199186) +[3152417,843] -> wl_drm@20.format(961959257) +[3152417,847] -> wl_drm@20.format(825316697) +[3152417,850] -> wl_drm@20.format(842093913) +[3152417,854] -> wl_drm@20.format(909202777) +[3152417,858] -> wl_drm@20.format(875713881) +[3152417,861] -> wl_drm@20.format(842094158) +[3152417,865] -> wl_drm@20.format(909203022) +[3152417,868] -> wl_drm@20.format(1448695129) +[3152417,872] -> wl_drm@20.capabilities(1) +[3152417,877] wl_display@1.sync(new id wl_callback@18) +[3152417,883] -> wl_callback@18.done(0) +[3152417,887] -> wl_display@1.delete_id(18) +[3152418,116] wl_display@1.sync(new id wl_callback@18) +[3152418,129] -> wl_callback@18.done(0) +[3152418,135] -> wl_display@1.delete_id(18) +[3152448,322] wl_compositor@5.create_surface(new id wl_surface@18) +[3152448,373] wl_registry@2.bind(4, "xdg_wm_base", 1, new id [unknown]@21) +[3152448,395] xdg_wm_base@21.get_xdg_surface(new id xdg_surface@22, wl_surface@18) +[3152448,416] xdg_surface@22.get_toplevel(new id xdg_toplevel@23) +[3152448,443] -> xdg_toplevel@23.configure(0, 0, array) +[3152448,456] -> xdg_surface@22.configure(1) +[3152449,526] xdg_toplevel@23.set_title("qml-client") +[3152449,546] xdg_toplevel@23.set_app_id("qml-client") +[3152449,552] wl_surface@18.set_buffer_scale(1) +[3152449,558] wl_surface@18.set_buffer_transform(0) +[3152449,566] wl_surface@18.commit() +[3152567,769] xdg_surface@22.set_window_geometry(0, 0, 506, 533) +[3152567,824] xdg_surface@22.ack_configure(1) +[3152567,842] wl_compositor@5.create_surface(new id wl_surface@24) +[3152567,899] wl_surface@24.destroy() +[3152567,948] -> wl_display@1.delete_id(24) +[3152567,961] wl_surface@18.damage(0, 0, 506, 30) +[3152567,981] wl_surface@18.damage(509, 0, 3, 30) +[3152568,001] wl_surface@18.damage(0, 30, 3, 503) +[3152568,019] wl_surface@18.damage(509, 30, 3, 503) +[3152568,038] wl_surface@18.damage(0, 563, 506, 3) +[3152568,056] wl_surface@18.frame(new id wl_callback@25) +[3152568,069] zwp_linux_dmabuf_v1@19.create_params(new id zwp_linux_buffer_params_v1@26) +[3152568,133] zwp_linux_buffer_params_v1@26.add(fd 25, 0, 0, 2048, 16777216, 2) +[3152568,163] zwp_linux_buffer_params_v1@26.create_immed(new id wl_buffer@27, 506, 533, 875713089, 0) +[3152568,323] zwp_linux_buffer_params_v1@26.destroy() +[3152568,354] -> wl_display@1.delete_id(26) +[3152568,362] wl_surface@18.attach(wl_buffer@27, 0, 0) +[3152568,396] wl_surface@18.damage(0, 0, 2147483647, 2147483647) +[3152568,409] wl_surface@18.commit() +[3152573,974] -> wl_surface@18.enter(wl_output@14) +[3152574,009] -> wl_callback@25.done(16158) +[3152574,022] -> wl_display@1.delete_id(25) diff --git a/autotests/input/wayland.txt.syntax b/autotests/input/wayland.txt.syntax new file mode 100644 index 0000000..d1c4189 --- /dev/null +++ b/autotests/input/wayland.txt.syntax @@ -0,0 +1 @@ +Wayland Trace diff --git a/autotests/reference/wayland.txt.ref b/autotests/reference/wayland.txt.ref new file mode 100644 index 0000000..650ce22 --- /dev/null +++ b/autotests/reference/wayland.txt.ref @@ -0,0 +1,212 @@ +[3152396,706] wl_display@1.get_registry(new id wl_registry@2)
+[3152396,746] -> wl_registry@2.global(1, "zwp_text_input_manager_v2", 1)
+[3152396,757] -> wl_registry@2.global(2, "wl_shell", 1)
+[3152396,765] -> wl_registry@2.global(3, "zxdg_shell_v6", 1)
+[3152396,773] -> wl_registry@2.global(4, "xdg_wm_base", 1)
+[3152396,780] -> wl_registry@2.global(5, "wl_compositor", 3)
+[3152396,788] -> wl_registry@2.global(6, "wl_subcompositor", 1)
+[3152396,795] -> wl_registry@2.global(7, "wl_data_device_manager", 1)
+[3152396,802] -> wl_registry@2.global(8, "wl_shm", 1)
+[3152396,809] -> wl_registry@2.global(9, "qt_hardware_integration", 1)
+[3152396,817] -> wl_registry@2.global(10, "zwp_linux_dmabuf_v1", 3)
+[3152396,824] -> wl_registry@2.global(11, "wl_drm", 2)
+[3152396,831] -> wl_registry@2.global(12, "wl_seat", 4)
+[3152396,840] -> wl_registry@2.global(13, "wl_output", 2)
+[3152396,850] wl_display@1.sync(new id wl_callback@3)
+[3152396,862] -> wl_callback@3.done(0)
+[3152396,881] -> wl_display@1.delete_id(3)
+[3152397,399] wl_registry@2.bind(1, "zwp_text_input_manager_v2", 1, new id [unknown]@4)
+[3152397,435] wl_registry@2.bind(5, "wl_compositor", 3, new id [unknown]@5)
+[3152397,447] wl_registry@2.bind(6, "wl_subcompositor", 1, new id [unknown]@6)
+[3152397,457] wl_registry@2.bind(7, "wl_data_device_manager", 1, new id [unknown]@7)
+[3152397,468] wl_registry@2.bind(8, "wl_shm", 1, new id [unknown]@8)
+[3152397,481] -> wl_shm@8.format(0)
+[3152397,486] -> wl_shm@8.format(1)
+[3152397,490] -> wl_shm@8.format(1)
+[3152397,494] -> wl_shm@8.format(0)
+[3152397,497] -> wl_shm@8.format(909199186)
+[3152397,501] -> wl_shm@8.format(892424792)
+[3152397,505] -> wl_shm@8.format(875710290)
+[3152397,509] -> wl_shm@8.format(842093144)
+[3152397,513] -> wl_shm@8.format(842093121)
+[3152397,516] -> wl_shm@8.format(875709016)
+[3152397,520] -> wl_shm@8.format(875708993)
+[3152397,523] -> wl_shm@8.format(808665688)
+[3152397,527] -> wl_shm@8.format(808665665)
+[3152397,530] -> wl_shm@8.format(808669784)
+[3152397,534] -> wl_shm@8.format(808669761)
+[3152397,538] -> wl_shm@8.format(538982467)
+[3152397,542] wl_registry@2.bind(9, "qt_hardware_integration", 1, new id [unknown]@9)
+[3152397,558] -> qt_hardware_integration@9.client_backend("linux-dmabuf-unstable-v1")
+[3152397,565] wl_display@1.sync(new id wl_callback@10)
+[3152397,570] -> wl_callback@10.done(0)
+[3152397,574] -> wl_display@1.delete_id(10)
+[3152397,578] wl_registry@2.bind(12, "wl_seat", 4, new id [unknown]@11)
+[3152397,589] -> wl_seat@11.capabilities(7)
+[3152397,594] wl_data_device_manager@7.get_data_device(new id wl_data_device@12, wl_seat@11)
+[3152397,610] zwp_text_input_manager_v2@4.get_text_input(new id zwp_text_input_v2@13, wl_seat@11)
+[3152397,633] -> zwp_text_input_v2@13.modifiers_map(array)
+[3152397,638] wl_registry@2.bind(13, "wl_output", 2, new id [unknown]@14)
+[3152397,650] -> wl_output@14.geometry(0, 0, -1, -1, 0, "", "", 0)
+[3152397,666] -> wl_output@14.scale(1)
+[3152397,670] -> wl_output@14.done()
+[3152397,674] wl_display@1.sync(new id wl_callback@15)
+[3152397,680] -> wl_callback@15.done(0)
+[3152397,684] -> wl_display@1.delete_id(15)
+[3152397,841] wl_seat@11.get_keyboard(new id wl_keyboard@10)
+[3152397,869] -> wl_keyboard@10.repeat_info(40, 400)
+[3152397,878] -> wl_keyboard@10.keymap(1, fd 25, 48097)
+[3152397,886] wl_seat@11.get_pointer(new id wl_pointer@3)
+[3152397,893] wl_compositor@5.create_surface(new id wl_surface@16)
+[3152397,915] wl_seat@11.get_touch(new id wl_touch@17)
+[3152416,849] wl_display@1.get_registry(new id wl_registry@15)
+[3152416,873] -> wl_registry@15.global(1, "zwp_text_input_manager_v2", 1)
+[3152416,885] -> wl_registry@15.global(2, "wl_shell", 1)
+[3152416,895] -> wl_registry@15.global(3, "zxdg_shell_v6", 1)
+[3152416,904] -> wl_registry@15.global(4, "xdg_wm_base", 1)
+[3152416,912] -> wl_registry@15.global(5, "wl_compositor", 3)
+[3152416,920] -> wl_registry@15.global(6, "wl_subcompositor", 1)
+[3152416,929] -> wl_registry@15.global(7, "wl_data_device_manager", 1)
+[3152416,949] -> wl_registry@15.global(8, "wl_shm", 1)
+[3152416,960] -> wl_registry@15.global(9, "qt_hardware_integration", 1)
+[3152416,970] -> wl_registry@15.global(10, "zwp_linux_dmabuf_v1", 3)
+[3152416,981] -> wl_registry@15.global(11, "wl_drm", 2)
+[3152416,991] -> wl_registry@15.global(12, "wl_seat", 4)
+[3152417,000] -> wl_registry@15.global(13, "wl_output", 2)
+[3152417,011] wl_display@1.sync(new id wl_callback@18)
+[3152417,020] -> wl_callback@18.done(0)
+[3152417,027] -> wl_display@1.delete_id(18)
+[3152417,129] wl_registry@15.bind(10, "zwp_linux_dmabuf_v1", 3, new id [unknown]@19)
+[3152417,177] -> zwp_linux_dmabuf_v1@19.modifier(943215175, 0, 0)
+[3152417,190] -> zwp_linux_dmabuf_v1@19.modifier(943215175, 16777216, 1)
+[3152417,200] -> zwp_linux_dmabuf_v1@19.modifier(943215175, 16777216, 2)
+[3152417,212] -> zwp_linux_dmabuf_v1@19.modifier(540422482, 0, 0)
+[3152417,222] -> zwp_linux_dmabuf_v1@19.modifier(540422482, 16777216, 1)
+[3152417,231] -> zwp_linux_dmabuf_v1@19.modifier(540422482, 16777216, 2)
+[3152417,240] -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 0, 0)
+[3152417,265] -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 16777216, 1)
+[3152417,275] -> zwp_linux_dmabuf_v1@19.modifier(1498831189, 16777216, 2)
+[3152417,294] -> zwp_linux_dmabuf_v1@19.modifier(875713112, 0, 0)
+[3152417,303] -> zwp_linux_dmabuf_v1@19.modifier(875713112, 16777216, 1)
+[3152417,311] -> zwp_linux_dmabuf_v1@19.modifier(875713112, 16777216, 2)
+[3152417,320] -> zwp_linux_dmabuf_v1@19.modifier(808669761, 0, 0)
+[3152417,328] -> zwp_linux_dmabuf_v1@19.modifier(808669761, 16777216, 1)
+[3152417,347] -> zwp_linux_dmabuf_v1@19.modifier(808669761, 16777216, 2)
+[3152417,357] -> zwp_linux_dmabuf_v1@19.modifier(842093913, 0, 0)
+[3152417,364] -> zwp_linux_dmabuf_v1@19.modifier(842093913, 16777216, 1)
+[3152417,370] -> zwp_linux_dmabuf_v1@19.modifier(842093913, 16777216, 2)
+[3152417,377] -> zwp_linux_dmabuf_v1@19.modifier(842094158, 0, 0)
+[3152417,386] -> zwp_linux_dmabuf_v1@19.modifier(842094158, 16777216, 1)
+[3152417,396] -> zwp_linux_dmabuf_v1@19.modifier(842094158, 16777216, 2)
+[3152417,404] -> zwp_linux_dmabuf_v1@19.modifier(909202777, 0, 0)
+[3152417,410] -> zwp_linux_dmabuf_v1@19.modifier(909202777, 16777216, 1)
+[3152417,417] -> zwp_linux_dmabuf_v1@19.modifier(909202777, 16777216, 2)
+[3152417,424] -> zwp_linux_dmabuf_v1@19.modifier(538982482, 0, 0)
+[3152417,430] -> zwp_linux_dmabuf_v1@19.modifier(538982482, 16777216, 1)
+[3152417,437] -> zwp_linux_dmabuf_v1@19.modifier(538982482, 16777216, 2)
+[3152417,443] -> zwp_linux_dmabuf_v1@19.modifier(909203022, 0, 0)
+[3152417,450] -> zwp_linux_dmabuf_v1@19.modifier(909203022, 16777216, 1)
+[3152417,457] -> zwp_linux_dmabuf_v1@19.modifier(909203022, 16777216, 2)
+[3152417,464] -> zwp_linux_dmabuf_v1@19.modifier(961893977, 0, 0)
+[3152417,470] -> zwp_linux_dmabuf_v1@19.modifier(961893977, 16777216, 1)
+[3152417,477] -> zwp_linux_dmabuf_v1@19.modifier(961893977, 16777216, 2)
+[3152417,484] -> zwp_linux_dmabuf_v1@19.modifier(842094169, 0, 0)
+[3152417,491] -> zwp_linux_dmabuf_v1@19.modifier(842094169, 16777216, 1)
+[3152417,497] -> zwp_linux_dmabuf_v1@19.modifier(842094169, 16777216, 2)
+[3152417,504] -> zwp_linux_dmabuf_v1@19.modifier(875709016, 0, 0)
+[3152417,511] -> zwp_linux_dmabuf_v1@19.modifier(875709016, 16777216, 1)
+[3152417,517] -> zwp_linux_dmabuf_v1@19.modifier(875709016, 16777216, 2)
+[3152417,524] -> zwp_linux_dmabuf_v1@19.modifier(825316697, 0, 0)
+[3152417,531] -> zwp_linux_dmabuf_v1@19.modifier(825316697, 16777216, 1)
+[3152417,537] -> zwp_linux_dmabuf_v1@19.modifier(825316697, 16777216, 2)
+[3152417,546] -> zwp_linux_dmabuf_v1@19.modifier(892424769, 0, 0)
+[3152417,553] -> zwp_linux_dmabuf_v1@19.modifier(892424769, 16777216, 1)
+[3152417,560] -> zwp_linux_dmabuf_v1@19.modifier(892424769, 16777216, 2)
+[3152417,566] -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 0, 0)
+[3152417,573] -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 16777216, 1)
+[3152417,580] -> zwp_linux_dmabuf_v1@19.modifier(1448695129, 16777216, 2)
+[3152417,586] -> zwp_linux_dmabuf_v1@19.modifier(875713089, 0, 0)
+[3152417,593] -> zwp_linux_dmabuf_v1@19.modifier(875713089, 16777216, 1)
+[3152417,600] -> zwp_linux_dmabuf_v1@19.modifier(875713089, 16777216, 2)
+[3152417,607] -> zwp_linux_dmabuf_v1@19.modifier(909203033, 0, 0)
+[3152417,613] -> zwp_linux_dmabuf_v1@19.modifier(909203033, 16777216, 1)
+[3152417,620] -> zwp_linux_dmabuf_v1@19.modifier(909203033, 16777216, 2)
+[3152417,627] -> zwp_linux_dmabuf_v1@19.modifier(875713881, 0, 0)
+[3152417,633] -> zwp_linux_dmabuf_v1@19.modifier(875713881, 16777216, 1)
+[3152417,640] -> zwp_linux_dmabuf_v1@19.modifier(875713881, 16777216, 2)
+[3152417,648] -> zwp_linux_dmabuf_v1@19.modifier(909199186, 0, 0)
+[3152417,655] -> zwp_linux_dmabuf_v1@19.modifier(909199186, 16777216, 1)
+[3152417,662] -> zwp_linux_dmabuf_v1@19.modifier(909199186, 16777216, 2)
+[3152417,668] -> zwp_linux_dmabuf_v1@19.modifier(825316953, 0, 0)
+[3152417,675] -> zwp_linux_dmabuf_v1@19.modifier(825316953, 16777216, 1)
+[3152417,682] -> zwp_linux_dmabuf_v1@19.modifier(825316953, 16777216, 2)
+[3152417,689] -> zwp_linux_dmabuf_v1@19.modifier(842224199, 0, 0)
+[3152417,695] -> zwp_linux_dmabuf_v1@19.modifier(842224199, 16777216, 1)
+[3152417,702] -> zwp_linux_dmabuf_v1@19.modifier(842224199, 16777216, 2)
+[3152417,709] -> zwp_linux_dmabuf_v1@19.modifier(875708993, 0, 0)
+[3152417,715] -> zwp_linux_dmabuf_v1@19.modifier(875708993, 16777216, 1)
+[3152417,722] -> zwp_linux_dmabuf_v1@19.modifier(875708993, 16777216, 2)
+[3152417,728] -> zwp_linux_dmabuf_v1@19.modifier(875714137, 0, 0)
+[3152417,735] -> zwp_linux_dmabuf_v1@19.modifier(875714137, 16777216, 1)
+[3152417,742] -> zwp_linux_dmabuf_v1@19.modifier(875714137, 16777216, 2)
+[3152417,748] -> zwp_linux_dmabuf_v1@19.modifier(808669784, 0, 0)
+[3152417,755] -> zwp_linux_dmabuf_v1@19.modifier(808669784, 16777216, 1)
+[3152417,762] -> zwp_linux_dmabuf_v1@19.modifier(808669784, 16777216, 2)
+[3152417,769] -> zwp_linux_dmabuf_v1@19.modifier(961959257, 0, 0)
+[3152417,775] -> zwp_linux_dmabuf_v1@19.modifier(961959257, 16777216, 1)
+[3152417,782] -> zwp_linux_dmabuf_v1@19.modifier(961959257, 16777216, 2)
+[3152417,796] wl_registry@15.bind(11, "wl_drm", 2, new id [unknown]@20)
+[3152417,819] -> wl_drm@20.device("/dev/dri/renderD128")
+[3152417,824] -> wl_drm@20.format(808669761)
+[3152417,828] -> wl_drm@20.format(808669784)
+[3152417,832] -> wl_drm@20.format(875713089)
+[3152417,835] -> wl_drm@20.format(875713112)
+[3152417,839] -> wl_drm@20.format(909199186)
+[3152417,843] -> wl_drm@20.format(961959257)
+[3152417,847] -> wl_drm@20.format(825316697)
+[3152417,850] -> wl_drm@20.format(842093913)
+[3152417,854] -> wl_drm@20.format(909202777)
+[3152417,858] -> wl_drm@20.format(875713881)
+[3152417,861] -> wl_drm@20.format(842094158)
+[3152417,865] -> wl_drm@20.format(909203022)
+[3152417,868] -> wl_drm@20.format(1448695129)
+[3152417,872] -> wl_drm@20.capabilities(1)
+[3152417,877] wl_display@1.sync(new id wl_callback@18)
+[3152417,883] -> wl_callback@18.done(0)
+[3152417,887] -> wl_display@1.delete_id(18)
+[3152418,116] wl_display@1.sync(new id wl_callback@18)
+[3152418,129] -> wl_callback@18.done(0)
+[3152418,135] -> wl_display@1.delete_id(18)
+[3152448,322] wl_compositor@5.create_surface(new id wl_surface@18)
+[3152448,373] wl_registry@2.bind(4, "xdg_wm_base", 1, new id [unknown]@21)
+[3152448,395] xdg_wm_base@21.get_xdg_surface(new id xdg_surface@22, wl_surface@18)
+[3152448,416] xdg_surface@22.get_toplevel(new id xdg_toplevel@23)
+[3152448,443] -> xdg_toplevel@23.configure(0, 0, array)
+[3152448,456] -> xdg_surface@22.configure(1)
+[3152449,526] xdg_toplevel@23.set_title("qml-client")
+[3152449,546] xdg_toplevel@23.set_app_id("qml-client")
+[3152449,552] wl_surface@18.set_buffer_scale(1)
+[3152449,558] wl_surface@18.set_buffer_transform(0)
+[3152449,566] wl_surface@18.commit()
+[3152567,769] xdg_surface@22.set_window_geometry(0, 0, 506, 533)
+[3152567,824] xdg_surface@22.ack_configure(1)
+[3152567,842] wl_compositor@5.create_surface(new id wl_surface@24)
+[3152567,899] wl_surface@24.destroy()
+[3152567,948] -> wl_display@1.delete_id(24)
+[3152567,961] wl_surface@18.damage(0, 0, 506, 30)
+[3152567,981] wl_surface@18.damage(509, 0, 3, 30)
+[3152568,001] wl_surface@18.damage(0, 30, 3, 503)
+[3152568,019] wl_surface@18.damage(509, 30, 3, 503)
+[3152568,038] wl_surface@18.damage(0, 563, 506, 3)
+[3152568,056] wl_surface@18.frame(new id wl_callback@25)
+[3152568,069] zwp_linux_dmabuf_v1@19.create_params(new id zwp_linux_buffer_params_v1@26)
+[3152568,133] zwp_linux_buffer_params_v1@26.add(fd 25, 0, 0, 2048, 16777216, 2)
+[3152568,163] zwp_linux_buffer_params_v1@26.create_immed(new id wl_buffer@27, 506, 533, 875713089, 0)
+[3152568,323] zwp_linux_buffer_params_v1@26.destroy()
+[3152568,354] -> wl_display@1.delete_id(26)
+[3152568,362] wl_surface@18.attach(wl_buffer@27, 0, 0)
+[3152568,396] wl_surface@18.damage(0, 0, 2147483647, 2147483647)
+[3152568,409] wl_surface@18.commit()
+[3152573,974] -> wl_surface@18.enter(wl_output@14)
+[3152574,009] -> wl_callback@25.done(16158)
+[3152574,022] -> wl_display@1.delete_id(25)
diff --git a/data/syntax/wayland-trace.xml b/data/syntax/wayland-trace.xml new file mode 100644 index 0000000..a80e658 --- /dev/null +++ b/data/syntax/wayland-trace.xml @@ -0,0 +1,61 @@ + + + + + + + + array + fd + id + new + nil + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +