diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_ContextVK.h')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextVK.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_ContextVK.h b/intern/ghost/intern/GHOST_ContextVK.h index 5048e0308f5..440b106a109 100644 --- a/intern/ghost/intern/GHOST_ContextVK.h +++ b/intern/ghost/intern/GHOST_ContextVK.h @@ -64,6 +64,10 @@ typedef enum { #endif } GHOST_TVulkanPlatformType; +struct GHOST_VulkanDeviceList { + std::vector<GHOST_VulkanPhysicalDevice> m_devices; +}; + class GHOST_ContextVK : public GHOST_Context { /* XR code needs low level graphics data to send to OpenXR. */ // friend class GHOST_XrGraphicsBindingOpenGL; @@ -167,6 +171,9 @@ class GHOST_ContextVK : public GHOST_Context { return GHOST_kFailure; }; + GHOST_VulkanDeviceList *queryDevices(); + static void destroyDeviceList(GHOST_VulkanDeviceList *device_list); + private: #ifdef _WIN32 HWND m_hwnd; |