mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
buffer: allow concurrent data ptr accesses
This commit is contained in:
parent
7abb227617
commit
361804c727
2 changed files with 32 additions and 9 deletions
|
|
@ -51,7 +51,12 @@ struct wlr_buffer {
|
|||
|
||||
bool dropped;
|
||||
size_t n_locks;
|
||||
bool accessing_data_ptr;
|
||||
|
||||
size_t n_data_ptr_accesses;
|
||||
uint32_t data_ptr_access_flags; // bitfield of wlr_buffer_data_ptr_access_flag
|
||||
void *data_ptr_access_data;
|
||||
uint32_t data_ptr_access_format;
|
||||
size_t data_ptr_access_stride;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue