[][src]Module wayland_client::protocol::wl_shm_pool

a shared memory pool

The wl_shm_pool object encapsulates a piece of memory shared between the compositor and client. Through the wl_shm_pool object, the client can allocate shared memory wl_buffer objects. All objects created through the same pool share the same underlying mapped memory. Reusing the mapped memory avoids the setup/teardown overhead and is useful when interactively resizing a surface or for many small buffers.

Structs

WlShmPool

Enums

Event
Request

Constants

REQ_CREATE_BUFFER_SINCE

The minimal object version supporting this request

REQ_DESTROY_SINCE

The minimal object version supporting this request

REQ_RESIZE_SINCE

The minimal object version supporting this request

Statics

wl_shm_pool_interface

C representation of this interface, for interop

wl_shm_pool_requests

C-representation of the messages of this interface, for interop

Traits

EventHandler

An interface for handling events.