package wayland

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

Module Wayland_server.Wl_shmSource

Shared memory support.

A singleton global object that provides support for shared memory.

Clients can create wl_shm_pool objects using the create_pool request.

On binding the wl_shm object one or more format events are emitted to inform clients about the valid pixel formats that can be used for buffers.

Sourcetype 'v t = ([ `Wl_shm ], 'v, [ `Server ]) Proxy.t

Version 1

Sourceval format : [< `V1 ] t -> format:Imports.Wl_shm.Format.t -> unit

Pixel format description.

Informs the client about a valid pixel format that can be used for buffers. Known formats include argb8888 and xrgb8888.

Handlers

Note: Servers will always want to use v1.

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

Handler for a proxy with version >= 1.

OCaml

Innovation. Community. Security.