package wayland
  Pure OCaml Wayland protocol library
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      wayland-2.2.tbz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=0f882060a4cfe9424ed397676b8e2aaa931d84610beb29cb2ec9c355d1819625
    
    
  sha512=847781a3d274da7463ad1a2e46bada3663b8dee08fa576ad787e7ba35cb0f39a3e1a0e6e9729db2f643885a35ae32ece0358c5897d31b68907cad44f1b26af31
    
    
  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.