mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 07:08:50 +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:
parent
63b200f08d
commit
bf9dfc77ce
@ -78,6 +78,16 @@ namespace dxvk {
|
|||||||
*/
|
*/
|
||||||
void flushCommandList(DxvkSubmitStatus* status);
|
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
|
* \brief Begins external rendering
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user