aboutsummaryrefslogtreecommitdiffstats
path: root/protocol.xml
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-08-09 14:43:33 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-08-09 14:43:33 -0400
commit5fcd0aa58e243caf24f4deb080ac76e83d52213f (patch)
tree5422844a3174c8cbef300b4a9148cc597e1cebe8 /protocol.xml
parentDemarshal robustness fixes (diff)
downloadwayland-5fcd0aa58e243caf24f4deb080ac76e83d52213f.tar
wayland-5fcd0aa58e243caf24f4deb080ac76e83d52213f.tar.gz
wayland-5fcd0aa58e243caf24f4deb080ac76e83d52213f.tar.bz2
wayland-5fcd0aa58e243caf24f4deb080ac76e83d52213f.tar.lz
wayland-5fcd0aa58e243caf24f4deb080ac76e83d52213f.tar.xz
wayland-5fcd0aa58e243caf24f4deb080ac76e83d52213f.tar.zst
wayland-5fcd0aa58e243caf24f4deb080ac76e83d52213f.zip
Introduce 'buffer' object for attaching, image cahce and cursor images
The buffer object is created by a 'drm' object, which encapsulates the buffer sharing and authentication mechanism. Once the buffer is created it can be attached to a surface.
Diffstat (limited to 'protocol.xml')
-rw-r--r--protocol.xml36
1 files changed, 27 insertions, 9 deletions
diff --git a/protocol.xml b/protocol.xml
index 50a3480..63927be 100644
--- a/protocol.xml
+++ b/protocol.xml
@@ -32,10 +32,6 @@
<arg name="key" type="uint"/>
</request>
- <event name="device">
- <arg name="name" type="string"/>
- </event>
-
<event name="acknowledge">
<arg name="key" type="uint"/>
<arg name="frame" type="uint"/>
@@ -47,6 +43,32 @@
</event>
</interface>
+ <interface name="drm" version="1">
+ <!-- dri2 auth and create buffer -->
+ <request name="authenticate">
+ <arg name="id" type="uint"/>
+ </request>
+
+ <request name="create_buffer">
+ <arg name="id" type="new_id"/>
+ <arg name="name" type="uint"/>
+ <arg name="width" type="int"/>
+ <arg name="height" type="int"/>
+ <arg name="stride" type="uint"/>
+ <arg name="visual" type="visual"/>
+ </request>
+
+ <event name="device">
+ <arg name="name" type="string"/>
+ </event>
+
+ <event name="authenticated"/>
+ </interface>
+
+ <interface name="buffer" version="1">
+ <request name="destroy"/>
+ </interface>
+
<interface name="shell" version="1">
<request name="move">
<arg name="surface" type="surface"/>
@@ -78,11 +100,7 @@
<request name="destroy"/>
<request name="attach">
- <arg name="name" type="uint"/>
- <arg name="width" type="int"/>
- <arg name="height" type="int"/>
- <arg name="stride" type="uint"/>
- <arg name="visual" type="visual"/>
+ <arg name="buffer" type="buffer"/>
</request>
<request name="map">