Kelsidavis-WoWee/src/rendering
Kelsi cd01d07a91 fix: wait for GPU idle before freeing M2/WMO model buffers to prevent device lost
cleanupUnusedModels() runs every 5 seconds and freed vertex/index buffers
without waiting for the GPU to finish the previous frame's command buffer.
This caused VK_ERROR_DEVICE_LOST (-4) after extended gameplay when tiles
stream out and their models are freed mid-render.

Add vkDeviceWaitIdle() before the buffer destroy loop in both M2Renderer
and WMORenderer cleanupUnusedModels(). The wait only happens when there are
models to remove, so quiet sessions have no overhead.
2026-03-12 19:01:15 -07:00
..
amd_fsr3_framegen_probe.cpp Make FSR3 SDK integration Kits-only and align CI/docs 2026-03-09 05:00:51 -07:00
amd_fsr3_runtime.cpp fix: suppress wchar_t '>= 0' tautological comparison warning on arm64 2026-03-10 21:34:54 -07:00
camera.cpp Implement FSR 2.2 temporal upscaling 2026-03-07 23:13:01 -08:00
camera_controller.cpp feat: re-enable R key for camera reset with chat input safeguard 2026-03-11 07:53:36 -07:00
celestial.cpp Fix visible square behind sun by switching celestial to additive blending 2026-02-23 07:40:51 -08:00
character_preview.cpp feat: enable shadow rendering in character preview for visual depth 2026-03-11 12:21:07 -07:00
character_renderer.cpp Fix running animation hitching by using duration subtraction instead of fmod 2026-03-11 17:02:15 -07:00
charge_effect.cpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
clouds.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
frustum.cpp Fix Windows frustum enum macro collision 2026-03-09 04:41:04 -07:00
lens_flare.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
levelup_effect.cpp Add 3D level-up effect using LevelUp.m2 spell model 2026-02-19 20:36:25 -08:00
lighting_manager.cpp Add multi-expansion support with data-driven protocol layer 2026-02-12 22:56:36 -08:00
lightning.cpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
loading_screen.cpp Background normal map generation, queue-draining load screen warmup 2026-03-07 18:40:24 -08:00
m2_renderer.cpp fix: wait for GPU idle before freeing M2/WMO model buffers to prevent device lost 2026-03-12 19:01:15 -07:00
material.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
mesh.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
minimap.cpp Fix sun quad visibility, minimap opacity, audio scaling, and rename music toggle 2026-02-23 08:01:20 -08:00
mount_dust.cpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
performance_hud.cpp feat: show FXAA status in performance HUD 2026-03-12 17:01:20 -07:00
quest_marker_renderer.cpp feat: add frustum culling to quest marker rendering for consistency 2026-03-11 13:30:07 -07:00
renderer.cpp feat: allow FXAA alongside FSR1 and FSR3 simultaneously 2026-03-12 18:58:30 -07:00
scene.cpp Optimize release builds: LTO, -O3, visibility, micro-perf fixes 2026-02-18 20:10:47 -08:00
shader.cpp Performance optimizations and collision improvements 2026-02-02 23:03:45 -08:00
sky_system.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
skybox.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
starfield.cpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
swim_effects.cpp Fix GPU resource leaks and re-entrant world loading for instance transitions 2026-03-02 08:06:35 -08:00
terrain_manager.cpp Fix main-thread hang from terrain finalization; two-pass M2 rendering; tile streaming improvements 2026-03-09 20:58:49 -07:00
terrain_renderer.cpp refactor: consolidate duplicate ShadowParamsUBO structure definition 2026-03-11 11:37:58 -07:00
video_player.cpp Play looping MP4 behind auth screen 2026-02-05 15:34:29 -08:00
vk_buffer.cpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_context.cpp fix: animation stutter, resolution crash, memory cap, spell tooltip hints, GO collision 2026-03-10 22:26:50 -07:00
vk_pipeline.cpp Add player water ripples and separate 1x water pass for MSAA compatibility 2026-02-22 22:34:48 -08:00
vk_render_target.cpp Fix all remaining build warnings and eliminate UB in binary parsers 2026-02-23 19:58:38 -08:00
vk_shader.cpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_texture.cpp Batch GPU uploads to eliminate per-upload fence waits (stutter fix) 2026-03-07 12:19:59 -08:00
vk_utils.cpp Batch GPU uploads to eliminate per-upload fence waits (stutter fix) 2026-03-07 12:19:59 -08:00
water_renderer.cpp Remove unused baseZ/hasHeights variables in WaterRenderer::loadFromWMO 2026-03-09 16:09:44 -07:00
weather.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
wmo_renderer.cpp fix: wait for GPU idle before freeing M2/WMO model buffers to prevent device lost 2026-03-12 19:01:15 -07:00
world_map.cpp feat: show party member dots on world map with name labels and class colors 2026-03-12 15:05:52 -07:00