Add backend diagnostics for capture stalls

- add rotating XDMA backend and Qt preview logs
- expose IRQ, DMA, ring, and delivery debug state
- record IRQ wait heartbeats and register state
- make XDMA tracing configurable through CMake
- prevent preview status queries from blocking rendering
- recover from D3D swapchain and Present failures
- add debug API struct size validation
- avoid stale MainWindow object-size stack corruption
This commit is contained in:
Mark.lin
2026-06-18 10:24:34 +08:00
parent 42502ef701
commit 92b5fb1464
11 changed files with 616 additions and 73 deletions
+5 -3
View File
@@ -6,8 +6,10 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MainWindow window;
window.show();
QWidget *window = createMainWindow();
window->show();
return app.exec();
const int result = app.exec();
delete window;
return result;
}