recreate mailbox to use a queue instead
This commit is contained in:
parent
ac90cd0378
commit
52d7676831
7 changed files with 183 additions and 103 deletions
|
@ -31,8 +31,9 @@ public:
|
|||
/// Finalize rendering the guest frame and draw into the presentation texture
|
||||
virtual void SwapBuffers() = 0;
|
||||
|
||||
/// Draws the latest frame to the window (Renderer specific implementation)
|
||||
virtual void Present() = 0;
|
||||
/// Draws the latest frame to the window waiting timeout_ms for a frame to arrive (Renderer
|
||||
/// specific implementation)
|
||||
virtual void TryPresent(int timeout_ms) = 0;
|
||||
|
||||
/// Marks the presentation buffer as complete and swaps it back into the pool
|
||||
virtual void PresentComplete() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue