package wayland

  1. Overview
  2. Docs
Pure OCaml Wayland protocol library

Install

Dune Dependency

Authors

Maintainers

Sources

wayland-1.1.tbz
sha256=cdeca72c7ff949cbd0fb4d1e1141e4cf7aa75368db7ced4667dd4404e0fbec2c
sha512=815a0987a184615df39e0acfb912fbdd7ba2a1ae1e65267d9eeac6a63afe9d205c4d3c335b92f770227ecc93cd88f8e65e84328cd3dc17523b5eb42676e032ee

doc/wayland.protocols/Wayland_protocols/Drm_client/Wl_drm/index.html

Module Drm_client.Wl_drmSource

Sourcetype 'v t = ([ `Wl_drm ], 'v, [ `Client ]) Wayland.Proxy.t

Version 1

Sourceval 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
Sourceval 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
Sourceval authenticate : [< `V1 | `V2 ] t -> id:int32 -> unit

Version 2

Sourceval 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.

Sourceclass virtual +'a v1 : object ... end

Handler for a proxy with version >= 1.

Sourceclass virtual +'a v2 : object ... end

Handler for a proxy with version >= 2.

OCaml

Innovation. Community. Security.