public class WlBufferProxy extends Proxy<WlBufferEvents>
A buffer provides the content for a wl_surface. Buffers are created through factory interfaces such as wl_drm, wl_shm or similar. It has a width and a height and can be attached to a wl_surface, but the mechanism by which a client provides and updates the contents is defined by the buffer factory interface.
| Modifier and Type | Field and Description |
|---|---|
static String |
INTERFACE_NAME |
| Constructor and Description |
|---|
WlBufferProxy(long pointer) |
WlBufferProxy(long pointer,
WlBufferEvents implementation,
int version) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
destroy a buffer
|
equals, getId, getImplementation, getPointer, getVersion, hashCode, marshal, marshal, marshalConstructor, setQueuepublic static final String INTERFACE_NAME
public WlBufferProxy(long pointer,
WlBufferEvents implementation,
int version)
public WlBufferProxy(long pointer)
public void destroy()
Destroy a buffer. If and how you need to release the backing storage is defined by the buffer factory interface.
For possible side-effects to a surface, see wl_surface.attach.
destroy in class Proxy<WlBufferEvents>Copyright © 2016. All rights reserved.