Blender V4.3
gpu_platform.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_dynstr.h"
#include "BLI_string.h"
#include "BLI_string_utils.hh"
#include "BLI_vector.hh"
#include "GPU_platform.hh"
#include "gpu_platform_private.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Functions

static char * blender::gpu::create_key (eGPUSupportLevel support_level, const char *vendor, const char *renderer, const char *version)
 
static char * blender::gpu::create_gpu_name (const char *vendor, const char *renderer, const char *version)
 
C-API
eGPUSupportLevel GPU_platform_support_level ()
 
const char * GPU_platform_vendor ()
 
const char * GPU_platform_renderer ()
 
const char * GPU_platform_version ()
 
const char * GPU_platform_support_level_key ()
 
const char * GPU_platform_gpu_name ()
 
GPUArchitectureType GPU_platform_architecture ()
 
bool GPU_type_matches (eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver)
 
bool GPU_type_matches_ex (eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver, eGPUBackendType backend)
 
blender::Span< GPUDeviceGPU_platform_devices_list ()
 

Variables

GPUPlatformGlobal blender::gpu::GPG
 

Detailed Description

Wrap OpenGL features such as textures, shaders and GLSL with checks for drivers and GPU support.

Definition in file gpu_platform.cc.

Function Documentation

◆ GPU_platform_architecture()

◆ GPU_platform_devices_list()

◆ GPU_platform_gpu_name()

◆ GPU_platform_renderer()

const char * GPU_platform_renderer ( )

◆ GPU_platform_support_level()

◆ GPU_platform_support_level_key()

const char * GPU_platform_support_level_key ( )

◆ GPU_platform_vendor()

const char * GPU_platform_vendor ( )

◆ GPU_platform_version()

◆ GPU_type_matches()

◆ GPU_type_matches_ex()