mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
Merge branch 'buffer-release' into 'master'
compositor: implement wl_surface.get_release See merge request wlroots/wlroots!3674
This commit is contained in:
commit
7a72460a0d
4 changed files with 134 additions and 4 deletions
|
|
@ -29,6 +29,7 @@ enum wlr_surface_state_field {
|
|||
WLR_SURFACE_STATE_FRAME_CALLBACK_LIST = 1 << 7,
|
||||
WLR_SURFACE_STATE_VIEWPORT = 1 << 8,
|
||||
WLR_SURFACE_STATE_OFFSET = 1 << 9,
|
||||
WLR_SURFACE_STATE_RELEASE_CALLBACK_LIST = 1 << 10,
|
||||
};
|
||||
|
||||
struct wlr_surface_state {
|
||||
|
|
@ -44,6 +45,7 @@ struct wlr_surface_state {
|
|||
enum wl_output_transform transform;
|
||||
int32_t scale;
|
||||
struct wl_list frame_callback_list; // wl_resource
|
||||
struct wl_list release_callback_list; // wl_resource
|
||||
|
||||
int width, height; // in surface-local coordinates
|
||||
int buffer_width, buffer_height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue