package wayland

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Class Wl_shm.v1Source

Handler for a proxy with version >= 1.

constraint 'a = [< `V1 ]
method private virtual on_create_pool : [> `V1 ] t -> ([ `Wl_shm_pool ], 'a, [ `Server ]) Wayland__.Proxy.t -> fd:Unix.file_descr -> size:int32 -> unit

Create a shm pool.

Create a new wl_shm_pool object.

The pool can be used to create shared memory based buffer objects. The server will mmap size bytes of the passed file descriptor, to use as backing memory for the pool.

method min_version : int32
method bind_version : [ `V1 ]
OCaml

Innovation. Community. Security.