Revert changes to vulkanexamplebase.h and expose displayLinkOutputCb() to DemoViewController

This commit is contained in:
Stephen Saunders 2021-09-11 11:36:27 -04:00
parent 2349738013
commit 28d98b9ee7
4 changed files with 6 additions and 8 deletions

View file

@ -102,7 +102,7 @@ private:
bool resizing = false;
void windowResize();
void handleMouseMove(int32_t x, int32_t y);
// void nextFrame(); // SRS - make VulkanExampleBase::nextFrame() public
void nextFrame();
void updateOverlay();
void createPipelineCache();
void createCommandPool();
@ -401,9 +401,7 @@ public:
/** @brief Presents the current image to the swap chain */
void submitFrame();
/** @brief (Virtual) Default image acquire + submission and command buffer submission function */
void renderFrame(); // SRS - Don't think this needs to be virtual since render() is virtual
/** @brief Draws and advances to the next frame */
void nextFrame(); // SRS - make VulkanExampleBase::nextFrame() public
virtual void renderFrame();
/** @brief (Virtual) Called when the UI overlay is updating, can be used to add custom elements to the overlay */
virtual void OnUpdateUIOverlay(vks::UIOverlay *overlay);