egl: Add EGL_WL_bind_wayland_display
[mesa.git] / src / egl / wayland / wayland-drm / protocol / wayland-drm.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <protocol name="drm">
3 <!-- drm support. This object is created by the server and published
4 using the display's global event. -->
5 <interface name="drm" version="1">
6 <!-- Call this request with the magic received from drmGetMagic().
7 It will be passed on to the drmAuthMagic() or
8 DRIAuthConnection() call. This authentication must be
9 completed before create_buffer could be used. -->
10 <request name="authenticate">
11 <arg name="id" type="uint"/>
12 </request>
13
14 <!-- Create a wayland buffer for the named DRM buffer. The DRM
15 surface must have a name using the flink ioctl -->
16 <request name="create_buffer">
17 <arg name="id" type="new_id" interface="buffer"/>
18 <arg name="name" type="uint"/>
19 <arg name="width" type="int"/>
20 <arg name="height" type="int"/>
21 <arg name="stride" type="uint"/>
22 <arg name="visual" type="object" interface="visual"/>
23 </request>
24
25 <!-- Notification of the path of the drm device which is used by
26 the server. The client should use this device for creating
27 local buffers. Only buffers created from this device should
28 be be passed to the server using this drm object's
29 create_buffer request. -->
30 <event name="device">
31 <arg name="name" type="string"/>
32 </event>
33
34 <!-- Raised if the authenticate request succeeded -->
35 <event name="authenticated"/>
36 </interface>
37
38 </protocol>