Expand description
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§
- WlShm
Pool - a shared memory pool
Enums§
Constants§
- REQ_
CREATE_ BUFFER_ OPCODE - The wire opcode for this request
- REQ_
CREATE_ BUFFER_ SINCE - The minimal object version supporting this request
- REQ_
DESTROY_ OPCODE - The wire opcode for this request
- REQ_
DESTROY_ SINCE - The minimal object version supporting this request
- REQ_
RESIZE_ OPCODE - The wire opcode for this request
- REQ_
RESIZE_ SINCE - The minimal object version supporting this request