From 68f2f8cf927d0ea9082438c130ffbc7c5d69fd85 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 13 Mar 2022 11:21:56 +0100 Subject: Revert "scene: try to import buffers as textures before rendering" This reverts commit 3db1bcbe641b407b9f5c9e5d0a012b45aa2c6cb7. Since [1], importing buffers as textures before wlr_renderer_begin isn't necessary anymore. [1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3464 --- include/wlr/types/wlr_scene.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index 86775399..7c2238fb 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -69,9 +69,6 @@ struct wlr_scene { // May be NULL struct wlr_presentation *presentation; struct wl_listener presentation_destroy; - - // List of buffers which need to be imported as textures - struct wl_list pending_buffers; // wlr_scene_buffer.pending_link }; /** A sub-tree in the scene-graph. */ @@ -118,7 +115,6 @@ struct wlr_scene_buffer { struct wlr_fbox src_box; int dst_width, dst_height; enum wl_output_transform transform; - struct wl_list pending_link; // wlr_scene.pending_buffers }; /** A viewport for an output in the scene-graph */ -- cgit v1.2.3