diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2018-04-25 22:35:49 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2018-05-14 09:32:43 +0000 |
commit | fec8a9323b853ca0cefdbb755fcc74ca6bdfab03 (patch) | |
tree | 2e985c27022fd55228b1cbd831e575153364a504 /src/plugins/platforms/xcb/qxcbvulkaninstance.h | |
parent | d02e7b46a126181a7ede302bfd247b872ccce0de (diff) | |
download | qtbase-fec8a9323b853ca0cefdbb755fcc74ca6bdfab03.tar.gz |
Vulkan: Share destroySurface() implementation
The macOS, Windows, and XCB implementations are identical
and can be moved to QBasicPlatformVulkanInstance.
Change-Id: I1380b2bd03080710084a1458bdce3a362ba5c287
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbvulkaninstance.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbvulkaninstance.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/xcb/qxcbvulkaninstance.h b/src/plugins/platforms/xcb/qxcbvulkaninstance.h index dbe057d944..c5981d3605 100644 --- a/src/plugins/platforms/xcb/qxcbvulkaninstance.h +++ b/src/plugins/platforms/xcb/qxcbvulkaninstance.h @@ -64,14 +64,12 @@ public: void presentQueued(QWindow *window) override; VkSurfaceKHR createSurface(QXcbWindow *window); - void destroySurface(VkSurfaceKHR surface); private: QVulkanInstance *m_instance; QLibrary m_lib; PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR m_getPhysDevPresSupport; PFN_vkCreateXcbSurfaceKHR m_createSurface; - PFN_vkDestroySurfaceKHR m_destroySurface; }; QT_END_NAMESPACE |