From c68c9f1685e41082679abdf3ae181a21d0e0fc9a Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Fri, 7 Apr 2023 18:17:12 +0200 Subject: wlr_scene_buffer: Publicize some state The sway scene port relies on this to create a copy of the buffer for saved surface purposes. --- include/wlr/types/wlr_scene.h | 9 +++++---- 1 file 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; }; -- cgit v1.2.3