Added wrapper for frame preparation and submission, including semaphore selection and text overlay

This commit is contained in:
saschawillems 2016-05-15 20:11:28 +02:00
parent 5266c25c33
commit 1b335ad2c8
3 changed files with 70 additions and 9 deletions

View file

@ -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();
};