|
Blender
V2.93
|
#include "MEM_guardedalloc.h"#include "BLI_dynstr.h"#include "BLI_string.h"#include "GPU_platform.h"#include "gpu_platform_private.hh"Go to the source code of this file.
Namespaces | |
| blender | |
| blender::gpu | |
Functions | |
C-API | |
| eGPUSupportLevel | GPU_platform_support_level () |
| const char * | GPU_platform_support_level_key () |
| const char * | GPU_platform_gpu_name (void) |
| bool | GPU_type_matches (eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver) |
Variables | |
| GPUPlatformGlobal | blender::gpu::GPG |
Wrap OpenGL features such as textures, shaders and GLSL with checks for drivers and GPU support.
Definition in file gpu_platform.cc.
| const char* GPU_platform_gpu_name | ( | void | ) |
Definition at line 107 of file gpu_platform.cc.
References blender::gpu::GPG, and blender::gpu::GPUPlatformGlobal::gpu_name.
Referenced by WM_platform_support_perform_checks().
| eGPUSupportLevel GPU_platform_support_level | ( | void | ) |
Definition at line 97 of file gpu_platform.cc.
References blender::gpu::GPG, and blender::gpu::GPUPlatformGlobal::support_level.
Referenced by WM_platform_support_perform_checks().
| const char* GPU_platform_support_level_key | ( | void | ) |
Definition at line 102 of file gpu_platform.cc.
References blender::gpu::GPG, and blender::gpu::GPUPlatformGlobal::support_key.
Referenced by WM_platform_support_perform_checks().
| bool GPU_type_matches | ( | eGPUDeviceType | device, |
| eGPUOSType | os, | ||
| eGPUDriverType | driver | ||
| ) |
Definition at line 113 of file gpu_platform.cc.
References blender::gpu::GPUPlatformGlobal::device, blender::gpu::GPUPlatformGlobal::driver, blender::gpu::GPG, and blender::gpu::GPUPlatformGlobal::os.
Referenced by blender::gpu::debug::debug_callback(), blender::gpu::detect_workarounds(), draw_widgetbase_batch_skip_draw_cache(), drw_draw_pass_ex(), ED_screen_draw_edges(), EEVEE_create_minmax_buffer(), EEVEE_effects_cache_init(), EEVEE_effects_init(), EEVEE_occlusion_compute(), blender::gpu::Shader::print_log(), standard_defines(), and wm_platform_support_create_link().