From 9a0a4ce221e30f5193a4a05571dd1517777687fa Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 24 Nov 2023 17:44:17 +0100 Subject: render/vulkan: drop current_command_buffer This was used by the legacy rendering API. Since begin()/end() only need to set current_render_buffer and nothing else, we can drop all of these bits. --- include/render/vulkan.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/render') diff --git a/include/render/vulkan.h b/include/render/vulkan.h index 3e0c395f..fe29fd5b 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -253,15 +253,6 @@ struct wlr_vk_renderer { uint64_t timeline_point; struct wlr_vk_render_buffer *current_render_buffer; - struct wlr_vk_command_buffer *current_command_buffer; - - VkRect2D scissor; // needed for clearing - - VkPipeline bound_pipe; - - uint32_t render_width; - uint32_t render_height; - float projection[9]; size_t last_pool_size; struct wl_list descriptor_pools; // wlr_vk_descriptor_pool.link -- cgit v1.2.3