mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-21 06:46:46 -04:00
buffer: move wlr_shm_client_buffer functions to internal header
These will get used by wlr_compositor in the next commit.
This commit is contained in:
parent
a193d450ed
commit
c71800cf8d
2 changed files with 5 additions and 5 deletions
|
|
@ -22,6 +22,9 @@ struct wlr_shm_client_buffer {
|
|||
struct wl_listener release;
|
||||
};
|
||||
|
||||
bool buffer_is_shm_client_buffer(struct wlr_buffer *buffer);
|
||||
struct wlr_shm_client_buffer *shm_client_buffer_from_buffer(struct wlr_buffer *buffer);
|
||||
|
||||
/**
|
||||
* A read-only buffer that holds a data pointer.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue