summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland/wayland-drm/protocol/wayland-drm.xml
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2011-08-31 16:45:04 -0400
committerKristian Høgsberg <[email protected]>2011-08-31 18:33:47 -0400
commit7b1d94e5d1f53ac5f59000176aea1d02fc9a1181 (patch)
tree6fc9cb5fe6f09331998f7d210212a2c1289d1d18 /src/egl/wayland/wayland-drm/protocol/wayland-drm.xml
parent447bb454d848d98134ff916ab8a3b316fb136c59 (diff)
wayland: Track changes to drop wl_visual
Diffstat (limited to 'src/egl/wayland/wayland-drm/protocol/wayland-drm.xml')
-rw-r--r--src/egl/wayland/wayland-drm/protocol/wayland-drm.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/egl/wayland/wayland-drm/protocol/wayland-drm.xml b/src/egl/wayland/wayland-drm/protocol/wayland-drm.xml
index cde943060ca..f63bebdcaf5 100644
--- a/src/egl/wayland/wayland-drm/protocol/wayland-drm.xml
+++ b/src/egl/wayland/wayland-drm/protocol/wayland-drm.xml
@@ -32,10 +32,16 @@
<interface name="wl_drm" version="1">
<enum name="error">
<entry name="authenticate_fail" value="0"/>
- <entry name="invalid_visual" value="1"/>
+ <entry name="invalid_format" value="1"/>
<entry name="invalid_name" value="2"/>
</enum>
+ <enum name="format">
+ <entry name="argb32" value="0"/>
+ <entry name="premultiplied_argb32" value="1"/>
+ <entry name="xrgb32" value="2"/>
+ </enum>
+
<!-- Call this request with the magic received from drmGetMagic().
It will be passed on to the drmAuthMagic() or
DRIAuthConnection() call. This authentication must be
@@ -52,7 +58,7 @@
<arg name="width" type="int"/>
<arg name="height" type="int"/>
<arg name="stride" type="uint"/>
- <arg name="visual" type="object" interface="wl_visual"/>
+ <arg name="format" type="uint"/>
</request>
<!-- Notification of the path of the drm device which is used by
@@ -64,6 +70,10 @@
<arg name="name" type="string"/>
</event>
+ <event name="format">
+ <arg name="format" type="uint"/>
+ </event>
+
<!-- Raised if the authenticate request succeeded -->
<event name="authenticated"/>
</interface>