wl_buffer_listener

content for a wl_surface

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.

extern (C)
struct wl_buffer_listener {}

Members

Variables

release
void function(void* data, wl_buffer* wl_buffer) release;

compositor releases buffer

Meta