package wayland
Pure OCaml Wayland protocol library
Install
Dune Dependency
Authors
Maintainers
Sources
wayland-v0.2.tbz
sha256=4eb323e42a8c64e9e49b15a588342bfcc1e99640305cb261d128c75612d9458c
sha512=1478b79022c5e12199b9c724e49a9832166cd4979da9c4bf38d9f06970dafb8c51a11324b772dc982f56e58307c8bc17962948987fb30fec1fdb104f6e63b15b
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
.