mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
wlr_compositor: release state on buffer release
wlr_compositor will now wait for the current buffer to be released before clearing relevant state. For now, this will always happen at the end of the commit so there should be no functional change here.
This commit is contained in:
parent
ce918e8139
commit
4f0058f85c
2 changed files with 40 additions and 5 deletions
|
|
@ -239,6 +239,7 @@ struct wlr_surface {
|
|||
// private state
|
||||
|
||||
struct wl_listener role_resource_destroy;
|
||||
struct wl_listener current_buffer_release;
|
||||
|
||||
struct {
|
||||
int32_t scale;
|
||||
|
|
@ -250,6 +251,7 @@ struct wlr_surface {
|
|||
bool unmap_commit;
|
||||
|
||||
bool opaque;
|
||||
bool consumed;
|
||||
|
||||
bool handling_commit;
|
||||
bool pending_rejected;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue