1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-13 07:08:50 +01:00

[dxvk] Introduce endFrame method

This commit is contained in:
Philip Rebohle 2022-06-22 00:38:44 +02:00
parent ab0c15ea54
commit 5610b3a742
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 13 additions and 0 deletions

View File

@ -100,6 +100,11 @@ namespace dxvk {
}
void DxvkContext::endFrame() {
}
void DxvkContext::flushCommandList() {
m_device->submitCommandList(
this->endRecording(),

View File

@ -49,6 +49,14 @@ namespace dxvk {
*/
Rc<DxvkCommandList> endRecording();
/**
* \brief Ends frame
*
* Must be called once per frame before the
* final call to \ref endRecording.
*/
void endFrame();
/**
* \brief Flushes command buffer
*