quakeforge/libs
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
..
audio [sound] Don't free realname in the vorbis loader 2022-05-12 19:58:18 +09:00
client [client] Free default input config plist 2022-05-12 19:58:18 +09:00
console [gamecode] Add PR_Shutdown for tearing down a VM 2022-05-12 19:58:18 +09:00
gamecode [gamecode] Add PR_Shutdown for tearing down a VM 2022-05-12 19:58:18 +09:00
gib [gib] Plug some memory leaks 2022-05-12 19:58:18 +09:00
image [image] Set texture type for no-load tga images 2022-05-04 13:50:55 +09:00
input [input] Plug a pile of memory leaks 2022-05-12 19:58:18 +09:00
models [model] Undo brush texture changes in 4f58429137 2022-05-13 00:46:27 +09:00
net Merge branch 'master' into wip-rua_scene 2022-04-25 08:13:35 +09:00
qw [util] Make sizebuf and msg sizes unisgned 2021-04-04 15:53:53 +09:00
ruamoko [ruamoko] Free buffer used for loading plists 2022-05-12 22:47:55 +09:00
scene [scene] Implement Hierarchy_Copy 2022-05-08 11:14:00 +09:00
ui [ui] Free the view's children array 2022-05-12 19:58:18 +09:00
util [plugin] Pull plugin from list before calling its shutdown 2022-05-13 09:50:24 +09:00
video [vulkan] Free the staging buffer's command buffers 2022-05-13 10:19:08 +09:00
Makemodule.am [scene] Rename libQFentity to libQFscene 2021-07-24 14:20:59 +09:00