package wayland
Pure OCaml Wayland protocol library
Install
dune-project
Dependency
Authors
Maintainers
Sources
wayland-2.3.tbz
sha256=10627a94f4cef97147991528fcd246f8f27ccbf3026eafdece995b53ee9468a0
sha512=8e319dc236d04cc9084bf81782497899dca12a392d649a2ac7bd1d5edc1101ebe2bc266a033e23ab9ed46a8b692018bc47005036d10872f7825f4aa4009ab825
doc/wayland.protocols/Wayland_protocols/Drm_client/Wl_drm/index.html
Module Drm_client.Wl_drmSource
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.tSource
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.tVersion 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.tHandlers
Note: Servers will always want to use v1.