|
Blender
V2.93
|
#include <gpu_platform_private.hh>
Public Member Functions | |
| void | create_key (eGPUSupportLevel support_level, const char *vendor, const char *renderer, const char *version) |
| void | create_gpu_name (const char *vendor, const char *renderer, const char *version) |
| void | clear (void) |
Public Attributes | |
| bool | initialized = false |
| eGPUDeviceType | device |
| eGPUOSType | os |
| eGPUDriverType | driver |
| eGPUSupportLevel | support_level |
| char * | support_key = nullptr |
| char * | gpu_name = nullptr |
Definition at line 30 of file gpu_platform_private.hh.
| void blender::gpu::GPUPlatformGlobal::clear | ( | void | ) |
Definition at line 80 of file gpu_platform.cc.
References blender::gpu::GPG, gpu_name, initialized, MEM_SAFE_FREE, and support_key.
| void blender::gpu::GPUPlatformGlobal::create_gpu_name | ( | const char * | vendor, |
| const char * | renderer, | ||
| const char * | version | ||
| ) |
Definition at line 67 of file gpu_platform.cc.
References BLI_dynstr_appendf(), BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), BLI_str_replace_char(), and gpu_name.
| void blender::gpu::GPUPlatformGlobal::create_key | ( | eGPUSupportLevel | support_level, |
| const char * | vendor, | ||
| const char * | renderer, | ||
| const char * | version | ||
| ) |
Definition at line 44 of file gpu_platform.cc.
References BLI_dynstr_append(), BLI_dynstr_appendf(), BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), BLI_str_replace_char(), GPU_SUPPORT_LEVEL_LIMITED, GPU_SUPPORT_LEVEL_SUPPORTED, support_key, and support_level.
| eGPUDeviceType blender::gpu::GPUPlatformGlobal::device |
Definition at line 33 of file gpu_platform_private.hh.
Referenced by GPU_type_matches().
| eGPUDriverType blender::gpu::GPUPlatformGlobal::driver |
Definition at line 35 of file gpu_platform_private.hh.
Referenced by GPU_type_matches().
| char* blender::gpu::GPUPlatformGlobal::gpu_name = nullptr |
Definition at line 38 of file gpu_platform_private.hh.
Referenced by clear(), create_gpu_name(), and GPU_platform_gpu_name().
| bool blender::gpu::GPUPlatformGlobal::initialized = false |
Definition at line 32 of file gpu_platform_private.hh.
Referenced by clear().
| eGPUOSType blender::gpu::GPUPlatformGlobal::os |
Definition at line 34 of file gpu_platform_private.hh.
Referenced by GPU_type_matches().
| char* blender::gpu::GPUPlatformGlobal::support_key = nullptr |
Definition at line 37 of file gpu_platform_private.hh.
Referenced by clear(), create_key(), and GPU_platform_support_level_key().
| eGPUSupportLevel blender::gpu::GPUPlatformGlobal::support_level |
Definition at line 36 of file gpu_platform_private.hh.
Referenced by create_key(), and GPU_platform_support_level().