|
Blender V5.0
|
#include <gpu_platform_private.hh>
Public Member Functions | |
| void | init (GPUDeviceType gpu_device, GPUOSType os_type, GPUDriverType driver_type, GPUSupportLevel gpu_support_level, GPUBackendType backend, const char *vendor_str, const char *renderer_str, const char *version_str, GPUArchitectureType arch_type) |
| void | clear () |
Public Attributes | |
| bool | initialized = false |
| GPUDeviceType | device |
| GPUOSType | os |
| GPUDriverType | driver |
| GPUSupportLevel | support_level |
| char * | vendor = nullptr |
| char * | renderer = nullptr |
| char * | version = nullptr |
| char * | support_key = nullptr |
| char * | gpu_name = nullptr |
| GPUBackendType | backend = GPU_BACKEND_NONE |
| GPUArchitectureType | architecture_type = GPU_ARCHITECTURE_IMR |
| Vector< GPUDevice > | devices |
| Array< uint8_t, 16 > | device_uuid |
| Array< uint8_t, 8 > | device_luid |
| uint32_t | device_luid_node_mask |
Definition at line 20 of file gpu_platform_private.hh.
| void blender::gpu::GPUPlatformGlobal::clear | ( | ) |
Definition at line 101 of file gpu_platform.cc.
References device_luid, device_luid_node_mask, device_uuid, devices, gpu_name, initialized, MEM_SAFE_FREE, renderer, support_key, vendor, and version.
Referenced by init().
| void blender::gpu::GPUPlatformGlobal::init | ( | GPUDeviceType | gpu_device, |
| GPUOSType | os_type, | ||
| GPUDriverType | driver_type, | ||
| GPUSupportLevel | gpu_support_level, | ||
| GPUBackendType | backend, | ||
| const char * | vendor_str, | ||
| const char * | renderer_str, | ||
| const char * | version_str, | ||
| GPUArchitectureType | arch_type ) |
Definition at line 69 of file gpu_platform.cc.
References architecture_type, backend, BLI_strdup(), clear(), blender::gpu::create_gpu_name(), blender::gpu::create_key(), device, driver, gpu_name, initialized, os, renderer, support_key, support_level, vendor, and version.
| GPUArchitectureType blender::gpu::GPUPlatformGlobal::architecture_type = GPU_ARCHITECTURE_IMR |
Definition at line 33 of file gpu_platform_private.hh.
Referenced by init().
| GPUBackendType blender::gpu::GPUPlatformGlobal::backend = GPU_BACKEND_NONE |
Definition at line 32 of file gpu_platform_private.hh.
Referenced by init().
| GPUDeviceType blender::gpu::GPUPlatformGlobal::device |
Definition at line 23 of file gpu_platform_private.hh.
Referenced by init().
| Array<uint8_t, 8> blender::gpu::GPUPlatformGlobal::device_luid |
Definition at line 39 of file gpu_platform_private.hh.
Referenced by clear().
| uint32_t blender::gpu::GPUPlatformGlobal::device_luid_node_mask |
Definition at line 42 of file gpu_platform_private.hh.
Referenced by clear().
| Array<uint8_t, 16> blender::gpu::GPUPlatformGlobal::device_uuid |
Definition at line 37 of file gpu_platform_private.hh.
Referenced by clear().
Definition at line 34 of file gpu_platform_private.hh.
Referenced by clear().
| GPUDriverType blender::gpu::GPUPlatformGlobal::driver |
Definition at line 25 of file gpu_platform_private.hh.
Referenced by init().
| char* blender::gpu::GPUPlatformGlobal::gpu_name = nullptr |
Definition at line 31 of file gpu_platform_private.hh.
| bool blender::gpu::GPUPlatformGlobal::initialized = false |
Definition at line 22 of file gpu_platform_private.hh.
| GPUOSType blender::gpu::GPUPlatformGlobal::os |
Definition at line 24 of file gpu_platform_private.hh.
Referenced by init().
| char* blender::gpu::GPUPlatformGlobal::renderer = nullptr |
Definition at line 28 of file gpu_platform_private.hh.
| char* blender::gpu::GPUPlatformGlobal::support_key = nullptr |
Definition at line 30 of file gpu_platform_private.hh.
| GPUSupportLevel blender::gpu::GPUPlatformGlobal::support_level |
Definition at line 26 of file gpu_platform_private.hh.
Referenced by init().
| char* blender::gpu::GPUPlatformGlobal::vendor = nullptr |
Definition at line 27 of file gpu_platform_private.hh.
| char* blender::gpu::GPUPlatformGlobal::version = nullptr |
Definition at line 29 of file gpu_platform_private.hh.