From 5610b3a742df139a3c27fd5c60e4bd7ad3659db0 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 22 Jun 2022 00:38:44 +0200 Subject: [PATCH] [dxvk] Introduce endFrame method --- src/dxvk/dxvk_context.cpp | 5 +++++ src/dxvk/dxvk_context.h | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index abd2318f..b8fe2900 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -100,6 +100,11 @@ namespace dxvk { } + void DxvkContext::endFrame() { + + } + + void DxvkContext::flushCommandList() { m_device->submitCommandList( this->endRecording(), diff --git a/src/dxvk/dxvk_context.h b/src/dxvk/dxvk_context.h index 56ced3d4..8e6bae3d 100644 --- a/src/dxvk/dxvk_context.h +++ b/src/dxvk/dxvk_context.h @@ -49,6 +49,14 @@ namespace dxvk { */ Rc endRecording(); + /** + * \brief Ends frame + * + * Must be called once per frame before the + * final call to \ref endRecording. + */ + void endFrame(); + /** * \brief Flushes command buffer *