diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2023-04-07 18:17:12 +0200 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-06-27 17:25:06 -0400 |
commit | c68c9f1685e41082679abdf3ae181a21d0e0fc9a (patch) | |
tree | 33a5b3c717eccedb9867e7455640597751aab819 /include | |
parent | f4ee5eae932a56a718c9ad687b599a1a7dbbc618 (diff) |
wlr_scene_buffer: Publicize some state
The sway scene port relies on this to create a copy of the buffer for
saved surface purposes.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_scene.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index 8013b660..36ad2361 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -166,16 +166,17 @@ struct wlr_scene_buffer { */ struct wlr_scene_output *primary_output; - // private state - float opacity; enum wlr_scale_filter_mode filter_mode; - uint64_t active_outputs; - struct wlr_texture *texture; struct wlr_fbox src_box; int dst_width, dst_height; enum wl_output_transform transform; pixman_region32_t opaque_region; + + // private state + + uint64_t active_outputs; + struct wlr_texture *texture; struct wlr_linux_dmabuf_feedback_v1_init_options prev_feedback_options; }; |