package wayland
Pure OCaml Wayland protocol library
Install
Dune Dependency
Authors
Maintainers
Sources
wayland-1.0.tbz
sha256=bf8fd0057242d11f1c265c11cfa5de3c517ec0ad5994eae45e1efe3aac034510
sha512=da639e0903325e124933a03156ffd76188d2dfa2a9a61c5cee808fc8783833b81bb68ab59364ccc7c54a98bafa45d5b5a6c0571179f48178b5667b180a6d5a73
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 ] as 'a t ->
[[ `Wl_buffer ], 'a, [ `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 ], 'a, [ `Client ]) Wayland.Proxy.t
Source
val create_buffer :
[< `V1 | `V2 ] as 'a t ->
[[ `Wl_buffer ], 'a, [ `Client ]] Wayland.Proxy.Handler.t ->
name:int32 ->
width:int32 ->
height:int32 ->
stride:int32 ->
format:int32 ->
([ `Wl_buffer ], 'a, [ `Client ]) Wayland.Proxy.t
Version 2
Source
val create_prime_buffer :
[< `V2 ] as 'a t ->
[[ `Wl_buffer ], 'a, [ `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 ], 'a, [ `Client ]) Wayland.Proxy.t
Handlers
Note: Servers will always want to use v1
.