public interface WlShmEvents
A global singleton object that provides support for shared memory.
Clients can create wl_shm_pool objects using the create_pool request.
At connection setup time, the wl_shm object emits one or more format events to inform clients about the valid pixel formats that can be used for buffers.
| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
void |
format(WlShmProxy emitter,
int format)
pixel format description
|
static final int VERSION
void format(WlShmProxy emitter, int format)
Informs the client about a valid pixel format that can be used for buffers. Known formats include argb8888 and xrgb8888.
emitter - The protocol object that emitted the event.format - buffer pixel formatCopyright © 2016. All rights reserved.