Added wrapper for frame preparation and submission, including semaphore selection and text overlay
This commit is contained in:
parent
5266c25c33
commit
1b335ad2c8
3 changed files with 70 additions and 9 deletions
|
|
@ -340,5 +340,17 @@ public:
|
|||
VkPipelineStageFlags *pipelineStages);
|
||||
|
||||
void updateTextOverlay();
|
||||
|
||||
// Prepare the frame for workload submission
|
||||
// - Acquires the next image from the swap chain
|
||||
// - Submits a post present barrier
|
||||
// - Sets the default wait and signal semaphores
|
||||
void prepareFrame();
|
||||
|
||||
// Submit the frames' workload
|
||||
// - Submits the text overlay (if enabled)
|
||||
// -
|
||||
void submitFrame();
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue