Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: src/egl/wayland/wayland-drm/wayland-drm.xml

Issue 1419063004: Merge upstream version of wayland-drm.xml and include autogenerated files in chromium_gensrc. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/mesa.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromium_gensrc/egl/wayland/wayland-drm/wayland-drm-server-protocol.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <protocol name="drm"> 2 <protocol name="drm">
3 3
4 <copyright> 4 <copyright>
5 Copyright © 2008-2011 Kristian Høgsberg 5 Copyright © 2008-2011 Kristian Høgsberg
6 Copyright © 2010-2011 Intel Corporation 6 Copyright © 2010-2011 Intel Corporation
7 7
8 Permission to use, copy, modify, distribute, and sell this 8 Permission to use, copy, modify, distribute, and sell this
9 software and its documentation for any purpose is hereby granted 9 software and its documentation for any purpose is hereby granted
10 without fee, provided that\n the above copyright notice appear in 10 without fee, provided that\n the above copyright notice appear in
(...skipping 11 matching lines...) Expand all
22 FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY 22 FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
23 SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 23 SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
24 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 24 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
25 AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 25 AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
26 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 26 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
27 THIS SOFTWARE. 27 THIS SOFTWARE.
28 </copyright> 28 </copyright>
29 29
30 <!-- drm support. This object is created by the server and published 30 <!-- drm support. This object is created by the server and published
31 using the display's global event. --> 31 using the display's global event. -->
32 <interface name="wl_drm" version="1"> 32 <interface name="wl_drm" version="2">
33 <enum name="error"> 33 <enum name="error">
34 <entry name="authenticate_fail" value="0"/> 34 <entry name="authenticate_fail" value="0"/>
35 <entry name="invalid_format" value="1"/> 35 <entry name="invalid_format" value="1"/>
36 <entry name="invalid_name" value="2"/> 36 <entry name="invalid_name" value="2"/>
37 </enum> 37 </enum>
38 38
39 <enum name="format"> 39 <enum name="format">
40 <!-- The drm format codes match the #defines in drm_fourcc.h. 40 <!-- The drm format codes match the #defines in drm_fourcc.h.
41 The formats actually supported by the compositor will be 41 The formats actually supported by the compositor will be
42 reported by the format event. --> 42 reported by the format event. -->
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 <event name="device"> 143 <event name="device">
144 <arg name="name" type="string"/> 144 <arg name="name" type="string"/>
145 </event> 145 </event>
146 146
147 <event name="format"> 147 <event name="format">
148 <arg name="format" type="uint"/> 148 <arg name="format" type="uint"/>
149 </event> 149 </event>
150 150
151 <!-- Raised if the authenticate request succeeded --> 151 <!-- Raised if the authenticate request succeeded -->
152 <event name="authenticated"/> 152 <event name="authenticated"/>
153
154 <enum name="capability" since="2">
155 <description summary="wl_drm capability bitmask">
156 Bitmask of capabilities.
157 </description>
158 <entry name="prime" value="1" summary="wl_drm prime available"/>
159 </enum>
160
161 <event name="capabilities">
162 <arg name="value" type="uint"/>
163 </event>
164
165 <!-- Version 2 additions -->
166
167 <!-- Create a wayland buffer for the prime fd. Use for regular and planar
168 buffers. Pass 0 for offset and stride for unused planes. -->
169 <request name="create_prime_buffer" since="2">
170 <arg name="id" type="new_id" interface="wl_buffer"/>
171 <arg name="name" type="fd"/>
172 <arg name="width" type="int"/>
173 <arg name="height" type="int"/>
174 <arg name="format" type="uint"/>
175 <arg name="offset0" type="int"/>
176 <arg name="stride0" type="int"/>
177 <arg name="offset1" type="int"/>
178 <arg name="stride1" type="int"/>
179 <arg name="offset2" type="int"/>
180 <arg name="stride2" type="int"/>
181 </request>
182
153 </interface> 183 </interface>
154 184
155 </protocol> 185 </protocol>
OLDNEW
« no previous file with comments | « chromium_gensrc/egl/wayland/wayland-drm/wayland-drm-server-protocol.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698