|
Blender V5.3
|
Public Member Functions | |
| GHOST_InstanceVK () | |
| ~GHOST_InstanceVK () | |
| bool | init_extensions () |
| bool | create_instance (uint32_t vulkan_api_version) |
| bool | select_physical_device (const GHOST_GPUDevice &preferred_device, const blender::Span< const char * > required_extensions) |
| bool | create_device (const bool use_vk_ext_swapchain_maintenance1, const bool is_debug, const bool no_hw_rt, blender::Span< const char * > required_device_extensions, blender::Span< const char * > optional_device_extensions) |
Public Attributes | |
| VkInstance | vk_instance = VK_NULL_HANDLE |
| VkPhysicalDevice | vk_physical_device = VK_NULL_HANDLE |
| GHOST_ExtensionsVK | extensions |
| std::optional< GHOST_DeviceVK > | device |
Definition at line 349 of file GHOST_ContextVK.cc.
|
inline |
Definition at line 357 of file GHOST_ContextVK.cc.
References CLOG_ERROR, init_extensions(), and LOG.
|
inline |
Definition at line 377 of file GHOST_ContextVK.cc.
References device, vk_instance, and vk_physical_device.
|
inline |
Definition at line 558 of file GHOST_ContextVK.cc.
References acceleration_structure, CLOG_ERROR, blender::Vector< T, InlineBufferCapacity, Allocator >::data(), device, GHOST_DeviceVK::device_driver_properties, GHOST_ExtensionsVK::disable(), GHOST_ExtensionsVK::enable(), GHOST_ExtensionsVK::enabled, GHOST_DeviceVK::extensions, GHOST_DeviceVK::features, GHOST_DeviceVK::features_acceleration_structure, GHOST_DeviceVK::features_robustness2, GHOST_DeviceVK::functions, GHOST_DeviceVK::generic_queue_family, GHOST_kFailure, GHOST_DeviceVK::init_generic_queue(), GHOST_DeviceVK::init_generic_queue_family(), GHOST_DeviceVK::init_memory_allocator(), GHOST_ExtensionsVK::is_enabled(), GHOST_ExtensionsVK::is_supported(), LOG, GHOST_DeviceVK::properties, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::gpu::to_string(), GHOST_DeviceVK::use_vk_ext_swapchain_maintenance_1, GHOST_DeviceVK::vk_device, vk_instance, and vk_physical_device.
Referenced by GHOST_ContextVK::initializeDrawingContext().
|
inline |
Definition at line 397 of file GHOST_ContextVK.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), GHOST_ExtensionsVK::enabled, extensions, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), VK_CHECK, and vk_instance.
Referenced by GHOST_ContextVK::initializeDrawingContext().
|
inline |
Definition at line 385 of file GHOST_ContextVK.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), GHOST_ExtensionsVK::extensions, extensions, blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), and VK_CHECK.
Referenced by GHOST_InstanceVK().
|
inline |
Definition at line 421 of file GHOST_ContextVK.cc.
References CLOG_ERROR, CLOG_WARN, GHOST_GPUDevice::device_id, GHOST_DeviceVK::extensions, GHOST_GPUDevice::fail_on_invalid_override, GHOST_GPUDevice::fallback_device_id, GHOST_GPUDevice::fallback_index, GHOST_GPUDevice::fallback_vendor_id, GHOST_DeviceVK::features, GHOST_kFailure, GHOST_kSuccess, blender::gpu::GPU_vulkan_is_supported_driver(), GHOST_GPUDevice::index, GHOST_GPUDevice::is_override, GHOST_ExtensionsVK::is_supported(), LOG, GHOST_DeviceVK::properties, GHOST_GPUDevice::vendor_id, vk_instance, and vk_physical_device.
Referenced by GHOST_ContextVK::initializeDrawingContext().
| std::optional<GHOST_DeviceVK> GHOST_InstanceVK::device |
Definition at line 355 of file GHOST_ContextVK.cc.
Referenced by create_device(), GHOST_ContextVK::getVulkanHandles(), GHOST_ContextVK::initializeDrawingContext(), GHOST_ContextVK::~GHOST_ContextVK(), and ~GHOST_InstanceVK().
| GHOST_ExtensionsVK GHOST_InstanceVK::extensions |
Definition at line 353 of file GHOST_ContextVK.cc.
Referenced by create_instance(), init_extensions(), and GHOST_ContextVK::initializeDrawingContext().
| VkInstance GHOST_InstanceVK::vk_instance = VK_NULL_HANDLE |
Definition at line 350 of file GHOST_ContextVK.cc.
Referenced by create_device(), create_instance(), GHOST_ContextVK::getVulkanHandles(), GHOST_ContextVK::initializeDrawingContext(), select_physical_device(), GHOST_ContextVK::~GHOST_ContextVK(), and ~GHOST_InstanceVK().
| VkPhysicalDevice GHOST_InstanceVK::vk_physical_device = VK_NULL_HANDLE |
Definition at line 351 of file GHOST_ContextVK.cc.
Referenced by create_device(), select_physical_device(), and ~GHOST_InstanceVK().