quakeforge/libs/video/renderer
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
..
gl [gl] Use a scrap for lightmaps 2022-05-11 00:33:47 +09:00
glsl [renderer] Fix the other renderers for qwaq not loading gfx.wad 2022-05-09 16:30:05 +09:00
sw [renderer] Fix the other renderers for qwaq not loading gfx.wad 2022-05-09 16:30:05 +09:00
vulkan [vulkan] Free the staging buffer's command buffers 2022-05-13 10:19:08 +09:00
crosshair.c Add a new crosshair. 2012-12-12 19:36:50 +09:00
font8x8.c [renderer] Add a default 8x8 font 2021-01-08 14:37:52 +09:00
Makemodule.am [vulkan] Label renderpass and subpass sections 2022-05-07 15:45:11 +09:00
noisetextures.c Change pointer_t to unsigned and clean up the mess. 2012-12-21 21:53:13 +09:00
r_alias.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_billboard.c [renderer] Move a couple functions to using vec4f_t 2022-03-30 23:53:30 +09:00
r_bsp.c [model] Make firstmarksurface an int instead of pointer 2022-05-11 00:33:47 +09:00
r_cvar.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_dyn_textures.c [image] Change tex_t data from array to pointer 2021-01-25 00:54:41 +09:00
r_efrag.c Work around some clang parsing issues 2022-03-31 02:44:58 +09:00
r_ent.c [renderer] Move some functions from plugins to main lib 2022-03-07 13:40:04 +09:00
r_fog.c [renderer] Fix some non-static linking issues 2022-03-09 06:55:31 +09:00
r_graph.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_init.c [plugin] Ensure plugins get unloaded during shutdown 2022-05-12 20:58:39 +09:00
r_iqm.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_light.c [model] Make firstmarksurface an int instead of pointer 2022-05-11 00:33:47 +09:00
r_main.c Update vec3_t/vec4f_t hacks to work with clang 2022-03-31 00:08:26 +09:00
r_part.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_progs.c [gamecode] Add PR_Shutdown for tearing down a VM 2022-05-12 19:58:18 +09:00
r_scrap.c [ui] Create library for UI support code 2021-06-12 22:50:51 +09:00
r_screen.c [vulkan] Move non-specific lighting code out of Vulkan 2022-05-05 23:49:30 +09:00
r_sprite.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
vid_common.c [renderer] Clean up particles a little 2022-03-29 14:43:38 +09:00
vid_render_gl.c [model] Support freeing of skin data 2022-05-12 22:46:31 +09:00
vid_render_glsl.c [model] Support freeing of skin data 2022-05-12 22:46:31 +09:00
vid_render_sw.c [model] Support freeing of skin data 2022-05-12 22:46:31 +09:00
vid_render_vulkan.c [vulkan] Free the staging buffer's command buffers 2022-05-13 10:19:08 +09:00