Qt: Support Vulkan

This commit is contained in:
Connor McLaughlin
2020-06-19 00:18:53 +10:00
parent d168947ae4
commit 49a9f01327
13 changed files with 350 additions and 95 deletions

View File

@@ -22,7 +22,7 @@ public:
bool hasDeviceContext() const override;
bool createDeviceContext(bool debug_device) override;
void destroyDeviceContext() override;
bool createSurface() override;
bool recreateSurface() override;
void destroySurface() override;
RenderAPI GetRenderAPI() const override;
@@ -50,6 +50,7 @@ private:
void destroyDeviceResources() override;
bool shouldUseFlipModelSwapChain() const;
bool createSwapChain();
bool createSwapChainRTV();
void renderDisplay();