Package org.freedesktop.wayland.client
Interface WlShmEvents
- All Known Subinterfaces:
WlShmEventsV2
public interface WlShmEvents
shared 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.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
format
(WlShmProxy emitter, int format) pixel format description
-
Field Details
-
VERSION
static final int VERSION- See Also:
-
-
Method Details
-
format
pixel format descriptionInforms the client about a valid pixel format that can be used for buffers. Known formats include argb8888 and xrgb8888.
- Parameters:
emitter
- The protocol object that emitted the event.format
- buffer pixel format
-