mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
buffer: introduce wlr_buffer_finish()
This commit is contained in:
parent
5eed5d622d
commit
7963ba6a0d
12 changed files with 38 additions and 9 deletions
|
|
@ -36,6 +36,11 @@ struct wlr_buffer_resource_interface {
|
|||
void wlr_buffer_init(struct wlr_buffer *buffer,
|
||||
const struct wlr_buffer_impl *impl, int width, int height);
|
||||
|
||||
/**
|
||||
* Emit the destroy event and clean up common buffer state.
|
||||
*/
|
||||
void wlr_buffer_finish(struct wlr_buffer *buffer);
|
||||
|
||||
/**
|
||||
* Allows the registration of a struct wl_resource implementation.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue