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

@@ -27,11 +27,11 @@ public:
bool hasDeviceContext() const override;
bool createDeviceContext(bool debug_device) override;
bool initializeDeviceContext(bool debug_device) override;
bool initializeDeviceContext(std::string_view shader_cache_directory, bool debug_device) override;
bool activateDeviceContext() override;
void deactivateDeviceContext() override;
void destroyDeviceContext() override;
bool createSurface() override;
bool recreateSurface() override;
void destroySurface();
RenderAPI GetRenderAPI() const override;
@@ -54,8 +54,6 @@ private:
const char* GetGLSLVersionString() const;
std::string GetGLSLVersionHeader() const;
WindowInfo getWindowInfo() const;
bool createImGuiContext() override;
void destroyImGuiContext() override;
bool createDeviceResources() override;