[−][src]Module wayland_raw_protocol_bindings::client::wayland::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.
Enums
wl_shm_pool |
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
wl_shm_pool_listener | An interface for handling events. |
Functions
wl_shm_pool_add_listener⚠ | |
wl_shm_pool_add_rust_listener⚠ | |
wl_shm_pool_create_buffer⚠ | create a buffer from the pool |
wl_shm_pool_destroy⚠ | destroy the pool |
wl_shm_pool_get_user_data⚠ | |
wl_shm_pool_get_version⚠ | |
wl_shm_pool_resize⚠ | change the size of the pool mapping |
wl_shm_pool_set_user_data⚠ |