Mesa Wayland DRM

wayland-drm

wl_drm

version 2

authenticate(id: uint)
Argument
Type
Description
iduint
create_buffer(id: new_id<wl_buffer>, name: uint, width: int, height: int, stride: uint, format: uint)
Argument
Type
Description
idnew_id<wl_buffer>
nameuint
widthint
heightint
strideuint
formatuint
create_planar_buffer(id: new_id<wl_buffer>, name: uint, width: int, height: int, format: uint, offset0: int, stride0: int, offset1: int, stride1: int, offset2: int, stride2: int)
Argument
Type
Description
idnew_id<wl_buffer>
nameuint
widthint
heightint
formatuint
offset0int
stride0int
offset1int
stride1int
offset2int
stride2int
create_prime_buffer(id: new_id<wl_buffer>, name: fd, width: int, height: int, format: uint, offset0: int, stride0: int, offset1: int, stride1: int, offset2: int, stride2: int)
Argument
Type
Description
idnew_id<wl_buffer>
namefd
widthint
heightint
formatuint
offset0int
stride0int
offset1int
stride1int
offset2int
stride2int
device(name: string)
Argument
Type
Description
namestring
format(format: uint)
Argument
Type
Description
formatuint
authenticated()
capabilities(value: uint)
Argument
Type
Description
valueuint
Argument
Value
Description
c80x20203843
rgb3320x38424752
bgr2330x38524742
xrgb44440x32315258
xbgr44440x32314258
rgbx44440x32315852
bgrx44440x32315842
argb44440x32315241
abgr44440x32314241
rgba44440x32314152
bgra44440x32314142
xrgb15550x35315258
xbgr15550x35314258
rgbx55510x35315852
bgrx55510x35315842
argb15550x35315241
abgr15550x35314241
rgba55510x35314152
bgra55510x35314142
rgb5650x36314752
bgr5650x36314742
rgb8880x34324752
bgr8880x34324742
xrgb88880x34325258
xbgr88880x34324258
rgbx88880x34325852
bgrx88880x34325842
argb88880x34325241
abgr88880x34324241
rgba88880x34324152
bgra88880x34324142
xrgb21010100x30335258
xbgr21010100x30334258
rgbx10101020x30335852
bgrx10101020x30335842
argb21010100x30335241
abgr21010100x30334241
rgba10101020x30334152
bgra10101020x30334142
yuyv0x56595559
yvyu0x55595659
uyvy0x59565955
vyuy0x59555956
ayuv0x56555941
xyuv88880x56555958
nv120x3231564e
nv210x3132564e
nv160x3631564e
nv610x3136564e
yuv4100x39565559
yvu4100x39555659
yuv4110x31315559
yvu4110x31315659
yuv4200x32315559
yvu4200x32315659
yuv4220x36315559
yvu4220x36315659
yuv4440x34325559
yvu4440x34325659
abgr16f0x48344241
xbgr16f0x48344258
capability { prime } 
Argument
Value
Description
prime1
wl_drm prime available
Wl_drm capability bitmask

Bitmask of capabilities.


Copyright © 2008-2011 Kristian Høgsberg Copyright © 2010-2011 Intel Corporation

Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that\n the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.