|
Blender V5.3
|
Public Member Functions | |
| GHOST_DeviceVK (VkPhysicalDevice vk_physical_device, const bool use_vk_ext_swapchain_colorspace) | |
| ~GHOST_DeviceVK () | |
| bool | init_extensions () |
| void | wait_idle () |
| void | init_generic_queue_family () |
| void | init_generic_queue () |
| void | init_memory_allocator (VkInstance vk_instance) |
Public Attributes | |
| VkPhysicalDevice | vk_physical_device = VK_NULL_HANDLE |
| GHOST_ExtensionsVK | extensions |
| VkDevice | vk_device = VK_NULL_HANDLE |
| VolkDeviceTable | functions = {} |
| uint32_t | generic_queue_family = 0 |
| VkQueue | generic_queue = VK_NULL_HANDLE |
| VmaAllocator | vma_allocator = VK_NULL_HANDLE |
| VkPhysicalDeviceProperties2 | properties |
| VkPhysicalDeviceDriverProperties | device_driver_properties |
| VkPhysicalDeviceFeatures2 | features = {} |
| VkPhysicalDeviceVulkan11Features | features_11 = {} |
| VkPhysicalDeviceTimelineSemaphoreFeatures | features_timeline_semaphore |
| VkPhysicalDeviceBufferDeviceAddressFeatures | features_buffer_device_address |
| VkPhysicalDeviceRobustness2FeaturesEXT | features_robustness2 |
| VkPhysicalDeviceAccelerationStructureFeaturesKHR | features_acceleration_structure |
| int | users = 0 |
| std::mutex | queue_mutex |
| bool | use_vk_ext_swapchain_maintenance_1 = false |
| bool | use_vk_ext_swapchain_colorspace = false |
Definition at line 203 of file GHOST_ContextVK.cc.
|
inline |
Definition at line 241 of file GHOST_ContextVK.cc.
References device_driver_properties, features, features_11, features_acceleration_structure, features_buffer_device_address, features_robustness2, features_timeline_semaphore, init_extensions(), properties, use_vk_ext_swapchain_colorspace, and vk_physical_device.
|
inline |
Definition at line 260 of file GHOST_ContextVK.cc.
References functions, vk_device, and vma_allocator.
|
inline |
Definition at line 272 of file GHOST_ContextVK.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), extensions, GHOST_ExtensionsVK::extensions, blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), VK_CHECK, and vk_physical_device.
Referenced by GHOST_DeviceVK().
|
inline |
Definition at line 317 of file GHOST_ContextVK.cc.
References functions, generic_queue, generic_queue_family, and vk_device.
Referenced by GHOST_InstanceVK::create_device().
|
inline |
Definition at line 293 of file GHOST_ContextVK.cc.
References generic_queue_family, and vk_physical_device.
Referenced by GHOST_InstanceVK::create_device().
|
inline |
Definition at line 322 of file GHOST_ContextVK.cc.
References extensions, GHOST_ExtensionsVK::is_enabled(), vk_device, vk_physical_device, and vma_allocator.
Referenced by GHOST_InstanceVK::create_device().
|
inline |
Definition at line 285 of file GHOST_ContextVK.cc.
References functions, lock, queue_mutex, and vk_device.
Referenced by GHOST_ContextVK::~GHOST_ContextVK().
| VkPhysicalDeviceDriverProperties GHOST_DeviceVK::device_driver_properties |
Definition at line 218 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), and GHOST_DeviceVK().
| GHOST_ExtensionsVK GHOST_DeviceVK::extensions |
Definition at line 206 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), init_extensions(), init_memory_allocator(), and GHOST_InstanceVK::select_physical_device().
| VkPhysicalDeviceFeatures2 GHOST_DeviceVK::features = {} |
Definition at line 221 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), GHOST_DeviceVK(), and GHOST_InstanceVK::select_physical_device().
| VkPhysicalDeviceVulkan11Features GHOST_DeviceVK::features_11 = {} |
Definition at line 222 of file GHOST_ContextVK.cc.
Referenced by GHOST_DeviceVK().
| VkPhysicalDeviceAccelerationStructureFeaturesKHR GHOST_DeviceVK::features_acceleration_structure |
Definition at line 229 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), and GHOST_DeviceVK().
| VkPhysicalDeviceBufferDeviceAddressFeatures GHOST_DeviceVK::features_buffer_device_address |
Definition at line 225 of file GHOST_ContextVK.cc.
Referenced by GHOST_DeviceVK().
| VkPhysicalDeviceRobustness2FeaturesEXT GHOST_DeviceVK::features_robustness2 |
Definition at line 227 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), and GHOST_DeviceVK().
| VkPhysicalDeviceTimelineSemaphoreFeatures GHOST_DeviceVK::features_timeline_semaphore |
Definition at line 223 of file GHOST_ContextVK.cc.
Referenced by GHOST_DeviceVK().
| VolkDeviceTable GHOST_DeviceVK::functions = {} |
Definition at line 209 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), init_generic_queue(), GHOST_ContextVK::swapBufferAcquire(), GHOST_ContextVK::swapBufferRelease(), wait_idle(), GHOST_ContextVK::~GHOST_ContextVK(), and ~GHOST_DeviceVK().
| VkQueue GHOST_DeviceVK::generic_queue = VK_NULL_HANDLE |
Definition at line 212 of file GHOST_ContextVK.cc.
Referenced by GHOST_ContextVK::getVulkanHandles(), init_generic_queue(), and GHOST_ContextVK::swapBufferRelease().
| uint32_t GHOST_DeviceVK::generic_queue_family = 0 |
Definition at line 211 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), GHOST_ContextVK::getVulkanHandles(), init_generic_queue(), and init_generic_queue_family().
| VkPhysicalDeviceProperties2 GHOST_DeviceVK::properties |
Definition at line 215 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), GHOST_DeviceVK(), and GHOST_InstanceVK::select_physical_device().
| std::mutex GHOST_DeviceVK::queue_mutex |
Mutex to externally synchronize access to queue.
Definition at line 235 of file GHOST_ContextVK.cc.
Referenced by GHOST_ContextVK::getVulkanHandles(), GHOST_ContextVK::swapBufferRelease(), and wait_idle().
| bool GHOST_DeviceVK::use_vk_ext_swapchain_colorspace = false |
Definition at line 238 of file GHOST_ContextVK.cc.
Referenced by GHOST_DeviceVK(), GHOST_ContextVK::swapBufferAcquire(), and GHOST_ContextVK::swapBufferRelease().
| bool GHOST_DeviceVK::use_vk_ext_swapchain_maintenance_1 = false |
Definition at line 237 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), and GHOST_ContextVK::swapBufferRelease().
| int GHOST_DeviceVK::users = 0 |
Definition at line 232 of file GHOST_ContextVK.cc.
Referenced by GHOST_ContextVK::initializeDrawingContext(), and GHOST_ContextVK::~GHOST_ContextVK().
| VkDevice GHOST_DeviceVK::vk_device = VK_NULL_HANDLE |
Definition at line 208 of file GHOST_ContextVK.cc.
Referenced by GHOST_InstanceVK::create_device(), GHOST_ContextVK::getVulkanHandles(), init_generic_queue(), init_memory_allocator(), GHOST_ContextVK::swapBufferAcquire(), GHOST_ContextVK::swapBufferRelease(), wait_idle(), GHOST_ContextVK::~GHOST_ContextVK(), and ~GHOST_DeviceVK().
| VkPhysicalDevice GHOST_DeviceVK::vk_physical_device = VK_NULL_HANDLE |
Definition at line 205 of file GHOST_ContextVK.cc.
Referenced by GHOST_ContextVK::getVulkanHandles(), GHOST_DeviceVK(), init_extensions(), init_generic_queue_family(), and init_memory_allocator().
| VmaAllocator GHOST_DeviceVK::vma_allocator = VK_NULL_HANDLE |
Definition at line 213 of file GHOST_ContextVK.cc.
Referenced by GHOST_ContextVK::getVulkanHandles(), init_memory_allocator(), and ~GHOST_DeviceVK().