package wayland
Pure OCaml Wayland protocol library
Install
Dune Dependency
Authors
Maintainers
Sources
wayland-2.1.tbz
sha256=0ffb53958954f1ed4ef874a122c071a9cf3de77ae341b963eb7b513d8028f3c1
sha512=e391b91b4161ada44339bb97b0acf40a0ef3d3c8f62a114333a61155b70288b31b5904492ebbf187bad957849ff6e1df172d014f46ffc33db7140fa833449f5c
doc/wayland.protocols/Wayland_protocols/Drm_client/Wl_drm/index.html
Module Drm_client.Wl_drm
Source
Version 1
Source
val create_planar_buffer :
[< `V1 | `V2 ] t ->
[[ `Wl_buffer ], [ `V1 ], [ `Client ]] Wayland.Proxy.Handler.t ->
name:int32 ->
width:int32 ->
height:int32 ->
format:int32 ->
offset0:int32 ->
stride0:int32 ->
offset1:int32 ->
stride1:int32 ->
offset2:int32 ->
stride2:int32 ->
([ `Wl_buffer ], [ `V1 ], [ `Client ]) Wayland.Proxy.t
Source
val create_buffer :
[< `V1 | `V2 ] t ->
[[ `Wl_buffer ], [ `V1 ], [ `Client ]] Wayland.Proxy.Handler.t ->
name:int32 ->
width:int32 ->
height:int32 ->
stride:int32 ->
format:int32 ->
([ `Wl_buffer ], [ `V1 ], [ `Client ]) Wayland.Proxy.t
Version 2
Source
val create_prime_buffer :
[< `V2 ] t ->
[[ `Wl_buffer ], [ `V1 ], [ `Client ]] Wayland.Proxy.Handler.t ->
name:Unix.file_descr ->
width:int32 ->
height:int32 ->
format:int32 ->
offset0:int32 ->
stride0:int32 ->
offset1:int32 ->
stride1:int32 ->
offset2:int32 ->
stride2:int32 ->
([ `Wl_buffer ], [ `V1 ], [ `Client ]) Wayland.Proxy.t
Handlers
Note: Servers will always want to use v1
.