package wayland

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'v t = ([ `Wl_drm ], 'v, [ `Client ]) Wayland.Proxy.t
module Error = Drm_proto.Wl_drm.Error
module Format = Drm_proto.Wl_drm.Format
module Capability = Drm_proto.Wl_drm.Capability

Version 1

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

Version 2

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.

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

Handler for a proxy with version >= 1.

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

Handler for a proxy with version >= 2.

OCaml

Innovation. Community. Security.