Package org.freedesktop.wayland.server
Class WlShmPoolResource
java.lang.Object
org.freedesktop.wayland.server.Resource<WlShmPoolRequests>
org.freedesktop.wayland.server.WlShmPoolResource
- All Implemented Interfaces:
WaylandObject
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.
-
Field Summary
FieldsFields inherited from class org.freedesktop.wayland.server.Resource
wlResourcePtr
-
Constructor Summary
ConstructorsConstructorDescriptionWlShmPoolResource
(MemorySegment pointer) WlShmPoolResource
(Client client, int version, int id, WlShmPoolRequests implementation) -
Method Summary
Methods inherited from class org.freedesktop.wayland.server.Resource
addDestroyListener, destroy, equals, getClient, getId, getImplementation, getPointer, getVersion, hashCode, postError, postEvent, postEvent, register, unregister
-
Field Details
-
INTERFACE_NAME
- See Also:
-
-
Constructor Details
-
WlShmPoolResource
-
WlShmPoolResource
-