Blender
V3.3
|
#include <gpu_platform_private.hh>
Public Member Functions | |
void | init (eGPUDeviceType gpu_device, eGPUOSType os_type, eGPUDriverType driver_type, eGPUSupportLevel gpu_support_level, eGPUBackendType backend, const char *vendor_str, const char *renderer_str, const char *version_str) |
void | clear () |
Public Attributes | |
bool | initialized = false |
eGPUDeviceType | device |
eGPUOSType | os |
eGPUDriverType | driver |
eGPUSupportLevel | support_level |
char * | vendor = nullptr |
char * | renderer = nullptr |
char * | version = nullptr |
char * | support_key = nullptr |
char * | gpu_name = nullptr |
eGPUBackendType | backend = GPU_BACKEND_NONE |
Definition at line 14 of file gpu_platform_private.hh.
void blender::gpu::GPUPlatformGlobal::clear | ( | ) |
Definition at line 90 of file gpu_platform.cc.
References gpu_name, initialized, MEM_SAFE_FREE, renderer, support_key, vendor, and version.
Referenced by init().
void blender::gpu::GPUPlatformGlobal::init | ( | eGPUDeviceType | gpu_device, |
eGPUOSType | os_type, | ||
eGPUDriverType | driver_type, | ||
eGPUSupportLevel | gpu_support_level, | ||
eGPUBackendType | backend, | ||
const char * | vendor_str, | ||
const char * | renderer_str, | ||
const char * | version_str | ||
) |
Definition at line 64 of file gpu_platform.cc.
References 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.
eGPUBackendType blender::gpu::GPUPlatformGlobal::backend = GPU_BACKEND_NONE |
Definition at line 26 of file gpu_platform_private.hh.
Referenced by GPU_type_matches_ex(), and init().
eGPUDeviceType blender::gpu::GPUPlatformGlobal::device |
Definition at line 17 of file gpu_platform_private.hh.
Referenced by GPU_type_matches_ex(), and init().
eGPUDriverType blender::gpu::GPUPlatformGlobal::driver |
Definition at line 19 of file gpu_platform_private.hh.
Referenced by GPU_type_matches_ex(), and init().
char* blender::gpu::GPUPlatformGlobal::gpu_name = nullptr |
Definition at line 25 of file gpu_platform_private.hh.
Referenced by clear(), GPU_platform_gpu_name(), and init().
bool blender::gpu::GPUPlatformGlobal::initialized = false |
Definition at line 16 of file gpu_platform_private.hh.
Referenced by clear(), GPU_platform_gpu_name(), GPU_platform_renderer(), GPU_platform_support_level(), GPU_platform_support_level_key(), GPU_platform_vendor(), GPU_platform_version(), GPU_type_matches_ex(), and init().
eGPUOSType blender::gpu::GPUPlatformGlobal::os |
Definition at line 18 of file gpu_platform_private.hh.
Referenced by GPU_type_matches_ex(), and init().
char* blender::gpu::GPUPlatformGlobal::renderer = nullptr |
Definition at line 22 of file gpu_platform_private.hh.
Referenced by clear(), GPU_platform_renderer(), and init().
char* blender::gpu::GPUPlatformGlobal::support_key = nullptr |
Definition at line 24 of file gpu_platform_private.hh.
Referenced by clear(), GPU_platform_support_level_key(), and init().
eGPUSupportLevel blender::gpu::GPUPlatformGlobal::support_level |
Definition at line 20 of file gpu_platform_private.hh.
Referenced by GPU_platform_support_level(), and init().
char* blender::gpu::GPUPlatformGlobal::vendor = nullptr |
Definition at line 21 of file gpu_platform_private.hh.
Referenced by clear(), GPU_platform_vendor(), and init().
char* blender::gpu::GPUPlatformGlobal::version = nullptr |
Definition at line 23 of file gpu_platform_private.hh.
Referenced by clear(), GPU_platform_version(), and init().