diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-24 17:44:17 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-11-28 12:56:30 +0000 |
commit | 9a0a4ce221e30f5193a4a05571dd1517777687fa (patch) | |
tree | 93fb2c08b92634872115a9679ba5d6ee04e914ce /include/render | |
parent | c3c7b1c9d01ed876144fdf9210aba8d1ad38b332 (diff) |
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.
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/vulkan.h | 9 |
1 files changed, 0 insertions, 9 deletions
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 |