The function has been place in an internal header for API stability reasons.master
parent
9f33d8ad39
commit
0b9288ec0b
@ -0,0 +1,15 @@
|
||||
#ifndef TYPES_WLR_BUFFER
|
||||
#define TYPES_WLR_BUFFER
|
||||
|
||||
#include <wlr/types/wlr_buffer.h>
|
||||
/**
|
||||
* Access a pointer to the allocated data from the underlying implementation,
|
||||
* and its stride.
|
||||
*
|
||||
* The returned pointer should be pointing to a valid memory location for read
|
||||
* and write operations.
|
||||
*/
|
||||
bool buffer_get_data_ptr(struct wlr_buffer *buffer, void **data,
|
||||
size_t *stride);
|
||||
|
||||
#endif
|
Loading…
Reference in new issue