mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 22:24:13 +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
@ -77,7 +77,17 @@ namespace dxvk {
|
||||
* \param [out] status Submission feedback
|
||||
*/
|
||||
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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user