commit 0c11e09

Michael Forney  ·  2014-07-23 00:30:22 +0000 UTC
parent 5fb7304
protocol/wayland-drm.xml: Update to upstream version (fixes wayland-scanner warning)
1 files changed,  +19, -16
+19, -16
 1@@ -135,22 +135,6 @@
 2       <arg name="stride2" type="int"/>
 3     </request>
 4 
 5-    <!-- Create a wayland buffer for the prime fd.  Use for regular and planar
 6-         buffers.  Pass 0 for offset and stride for unused planes. -->
 7-    <request name="create_prime_buffer" since="2">
 8-      <arg name="id" type="new_id" interface="wl_buffer"/>
 9-      <arg name="name" type="fd"/>
10-      <arg name="width" type="int"/>
11-      <arg name="height" type="int"/>
12-      <arg name="format" type="uint"/>
13-      <arg name="offset0" type="int"/>
14-      <arg name="stride0" type="int"/>
15-      <arg name="offset1" type="int"/>
16-      <arg name="stride1" type="int"/>
17-      <arg name="offset2" type="int"/>
18-      <arg name="stride2" type="int"/>
19-    </request>
20-
21     <!-- Notification of the path of the drm device which is used by
22          the server.  The client should use this device for creating
23          local buffers.  Only buffers created from this device should
24@@ -177,6 +161,25 @@
25     <event name="capabilities">
26       <arg name="value" type="uint"/>
27     </event>
28+
29+    <!-- Version 2 additions -->
30+
31+    <!-- Create a wayland buffer for the prime fd.  Use for regular and planar
32+         buffers.  Pass 0 for offset and stride for unused planes. -->
33+    <request name="create_prime_buffer" since="2">
34+      <arg name="id" type="new_id" interface="wl_buffer"/>
35+      <arg name="name" type="fd"/>
36+      <arg name="width" type="int"/>
37+      <arg name="height" type="int"/>
38+      <arg name="format" type="uint"/>
39+      <arg name="offset0" type="int"/>
40+      <arg name="stride0" type="int"/>
41+      <arg name="offset1" type="int"/>
42+      <arg name="stride1" type="int"/>
43+      <arg name="offset2" type="int"/>
44+      <arg name="stride2" type="int"/>
45+    </request>
46+
47   </interface>
48 
49 </protocol>