quakeforge/include/QF/Vulkan
Bill Currie ceaac00453 [vulkan] Free the staging buffer's command buffers
Since the staging buffer allocates the command buffers it uses, it
needs to free them when it is freed. I think I was confused by the
validation layers not complaining about unfreed buffers when shutting
down, but that's because destroying the pool (during program shutdown,
when the validation layers would complain) frees all the buffers. Thus,
due to staging buffers being created and destroyed during the level load
process, (rather large) command buffers were piling up like imps in a
Doom level.

In the process, it was necessary to rearrange some of the shutdown code
because vulkan_vid_render_shutdown destroys the shared command pool, but
the pool is required for freeing the command buffers, but there was a
minor mess of long-lived staging buffers being freed afterwards. That
didn't end particularly well.
2022-05-13 10:19:08 +09:00
..
barrier.h [vulkan] Make some headers order-indepenedent 2022-05-04 13:55:56 +09:00
buffer.h [vulkan] Make some headers order-indepenedent 2022-05-04 13:55:56 +09:00
capture.h [vulkan] Clean up a pile of unnecessary includes 2022-05-08 17:57:40 +09:00
command.h [vulkan] Clean up a pile of unnecessary includes 2022-05-08 17:57:40 +09:00
cvars.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
debug.h [vulkan] Label renderpass and subpass sections 2022-05-07 15:45:11 +09:00
descriptor.h [vulkan] Clean up a pile of unnecessary includes 2022-05-08 17:57:40 +09:00
device.h [vulkan] Make device.h more include-order independent 2021-12-24 06:45:13 +09:00
funclist.h [vulkan] Invalidate mapped capture image memory 2022-04-01 16:19:10 +09:00
image.h [vulkan] Allow QFV_ImageFormat to select unorm or srgb 2022-05-08 14:15:20 +09:00
instance.h [vulkan] Add a debug stack to the vulkan instance 2021-11-30 18:10:48 +09:00
memory.h Rework much of the Vulkan array handling 2020-02-17 20:29:35 +09:00
pipeline.h [vulkan] Destroy pipeline on shutdown 2021-01-05 23:54:22 +09:00
projection.h [renderer] Clean up FOV and viewport handling 2022-03-30 14:55:32 +09:00
qf_alias.h [model] Make alias skin loading a batch operation 2022-04-04 15:38:27 +09:00
qf_bsp.h [vulkan] Update the sky matrix 2022-02-18 13:29:41 +09:00
qf_compose.h [vulkan] Fix some mostly harmless typos 2021-12-24 06:45:13 +09:00
qf_draw.h [vulkan] Support multiple render passes 2021-12-24 06:45:12 +09:00
qf_iqm.h [vulkan] Get IQM rendering working 2022-05-07 10:14:22 +09:00
qf_lighting.h [vulkan] Move non-specific lighting code out of Vulkan 2022-05-05 23:49:30 +09:00
qf_lightmap.h [renderer] Clean up most uses of currententity 2022-03-11 15:07:38 +09:00
qf_main.h [renderer] Use scene_t to set the model data 2022-05-05 14:46:02 +09:00
qf_matrices.h [renderer] Clean up FOV and viewport handling 2022-03-30 14:55:32 +09:00
qf_model.h [vulkan] Make a lot of progress for brush models 2021-01-20 01:28:54 +09:00
qf_particles.h [vulkan] Build particle buffers 2021-12-24 06:45:13 +09:00
qf_sprite.h [vulkan] Plug some leaking sprite descriptors 2022-05-11 01:52:22 +09:00
qf_texture.h [vulkan] Abandon bindless rendering 2021-12-24 06:45:13 +09:00
qf_vid.h [vulkan] Add entity labels to command queues 2022-05-07 15:45:11 +09:00
renderpass.h [vulkan] Label renderpass and subpass sections 2022-05-07 15:45:11 +09:00
resource.h [vulkan] Add a mini resource subsystem 2022-05-04 13:59:38 +09:00
scrap.h [vulkan] Clean up a lot of unnecessary includes 2022-03-30 15:54:07 +09:00
shader.h [vulkan] Generate code for resource nodes 2021-01-05 14:15:35 +09:00
staging.h [vulkan] Free the staging buffer's command buffers 2022-05-13 10:19:08 +09:00
swapchain.h [vulkan] Implement screenshot 2021-03-24 19:20:53 +09:00