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:
Simon Ser 2022-05-28 12:26:26 +02:00 committed by Alexander Orzechowski
parent a193d450ed
commit c71800cf8d
2 changed files with 5 additions and 5 deletions

View file

@ -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.
*