Diagnose preview stalls and FIFO frame loss

- add detailed FIFO loss and frame-hold timing diagnostics
- report slow preview calls and per-stage GPU timing
- reduce redundant preview pipeline and DXGI setup work
- move preview performance metrics into the sample status display
- avoid duplicate frame-loss warnings
This commit is contained in:
Mark.lin
2026-08-13 10:49:09 +08:00
parent aad8419c2a
commit bab59efcb5
7 changed files with 149 additions and 39 deletions
+1
View File
@@ -23,6 +23,7 @@ target_include_directories(gvfg_preview
target_compile_definitions(gvfg_preview PRIVATE
GVFG_PREVIEW_BUILD
GVFG_INTERNAL_DIAGNOSTICS=$<IF:$<CONFIG:Debug>,1,0>
)
target_link_libraries(gvfg_preview