mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-22 01:40:49 -05:00
Replace commit/ack/frame protocol with simpler sync and frame callbacks
This commit is contained in:
parent
13b8ae4986
commit
9d69f8e796
15 changed files with 257 additions and 188 deletions
31
protocol.xml
31
protocol.xml
|
|
@ -1,6 +1,14 @@
|
|||
<protocol>
|
||||
|
||||
<interface name="display" version="1">
|
||||
<request name="sync">
|
||||
<arg name="key" type="uint"/>
|
||||
</request>
|
||||
|
||||
<request name="frame">
|
||||
<arg name="key" type="uint"/>
|
||||
</request>
|
||||
|
||||
<event name="invalid_object">
|
||||
<arg name="object_id" type="uint"/>
|
||||
</event>
|
||||
|
|
@ -21,26 +29,21 @@
|
|||
<event name="range">
|
||||
<arg name="base" type="uint"/>
|
||||
</event>
|
||||
|
||||
<event name="sync">
|
||||
<arg name="key" type="uint"/>
|
||||
</event>
|
||||
|
||||
<event name="frame">
|
||||
<arg name="key" type="uint"/>
|
||||
<arg name="time" type="uint"/>
|
||||
</event>
|
||||
</interface>
|
||||
|
||||
<interface name="compositor" version="1">
|
||||
<request name="create_surface">
|
||||
<arg name="id" type="new_id" interface="surface"/>
|
||||
</request>
|
||||
|
||||
<request name="commit">
|
||||
<arg name="key" type="uint"/>
|
||||
</request>
|
||||
|
||||
<event name="acknowledge">
|
||||
<arg name="key" type="uint"/>
|
||||
<arg name="frame" type="uint"/>
|
||||
</event>
|
||||
|
||||
<event name="frame">
|
||||
<arg name="frame" type="uint"/>
|
||||
<arg name="timestamp" type="uint"/>
|
||||
</event>
|
||||
</interface>
|
||||
|
||||
<interface name="drm" version="1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue