1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-04 07:24:15 +01:00

[dxvk] Add context method for WSI synchronization

Mostly convenience, but we do want to get rid of Begin/EndRecording
at some point.
This commit is contained in:
Philip Rebohle 2024-10-02 09:48:13 +02:00 committed by Philip Rebohle
parent 63b200f08d
commit bf9dfc77ce

View File

@ -78,6 +78,16 @@ namespace dxvk {
*/
void flushCommandList(DxvkSubmitStatus* status);
/**
* \brief Synchronizes command list with WSI
*
* The next submission can be used to render
* to the swap chain image and present after.
*/
void synchronizeWsi(PresenterSync sync) {
m_cmd->setWsiSemaphores(sync);
}
/**
* \brief Begins external rendering
*