mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-12 13:29:45 -05:00
buffer: split into multiple files
wlr_buffer.c is difficult to read because it contains a mixed bag of unrelated things: base buffer type, buffer implementations, buffer resource factory, and client buffer. Split each of these into their own file.
This commit is contained in:
parent
4ffc97d134
commit
69c47717c2
9 changed files with 594 additions and 566 deletions
|
|
@ -22,6 +22,9 @@ struct wlr_shm_client_buffer {
|
|||
struct wl_listener release;
|
||||
};
|
||||
|
||||
struct wlr_shm_client_buffer *shm_client_buffer_get_or_create(
|
||||
struct wl_resource *resource);
|
||||
|
||||
/**
|
||||
* A read-only buffer that holds a data pointer.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue