mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
buffer: introduce wlr_buffer_get_data_ptr
The function has been place in an internal header for API stability reasons.
This commit is contained in:
parent
9f33d8ad39
commit
0b9288ec0b
3 changed files with 25 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ struct wlr_buffer_impl {
|
|||
void (*destroy)(struct wlr_buffer *buffer);
|
||||
bool (*get_dmabuf)(struct wlr_buffer *buffer,
|
||||
struct wlr_dmabuf_attributes *attribs);
|
||||
bool (*get_data_ptr)(struct wlr_buffer *buffer, void **data,
|
||||
size_t *stride);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue