Wayland_server.Wl_shmShared 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.
type 'v t = ([ `Wl_shm ], 'v, [ `Server ]) Proxy.tmodule Error = Wayland_proto.Wl_shm.Errormodule Format = Wayland_proto.Wl_shm.Formatval format : [< `V1 | `V2 ] t -> format:{Imports}1.Wl_shm.Format.t -> unitPixel format description.
Informs the client about a valid pixel format that can be used for buffers. Known formats include argb8888 and xrgb8888.
Note: Servers will always want to use v1.
class virtual +'a v1 : object ... endHandler for a proxy with version >= 1.
class virtual +'a v2 : object ... endHandler for a proxy with version >= 2.