renderdoc: start and stop captures on the present thread

This commit is contained in:
nmzik
2026-09-05 09:54:42 +04:00
parent 59902d1fd8
commit 994271e2f6
4 changed files with 29 additions and 45 deletions
+4 -6
View File
@@ -3,14 +3,12 @@
namespace Libs::Graphics {
class RenderContext;
void RenderDocInit();
void RenderDocRequestCapture();
void RenderDocStartCapture();
void RenderDocEndCapture();
void RenderDocOnGuestFlip();
[[nodiscard]] bool RenderDocCaptureRequested();
[[nodiscard]] bool RenderDocCaptureInProgress();
// Called by the presentation thread after releasing video-out locks.
void RenderDocOnGuestFlip(RenderContext& renderer);
} // namespace Libs::Graphics