Blender  V3.3
Namespaces | Functions | Variables
gpu_platform.cc File Reference
#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

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 ()
 
bool GPU_type_matches (eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver)
 
bool GPU_type_matches_ex (eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver, eGPUBackendType backend)
 

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_gpu_name()

const char* GPU_platform_gpu_name ( void  )

◆ GPU_platform_renderer()

const char* GPU_platform_renderer ( void  )

◆ GPU_platform_support_level()

eGPUSupportLevel GPU_platform_support_level ( void  )

◆ GPU_platform_support_level_key()

const char* GPU_platform_support_level_key ( void  )

◆ GPU_platform_vendor()

const char* GPU_platform_vendor ( void  )

◆ GPU_platform_version()

const char* GPU_platform_version ( void  )

◆ GPU_type_matches()

bool GPU_type_matches ( eGPUDeviceType  device,
eGPUOSType  os,
eGPUDriverType  driver 
)

◆ GPU_type_matches_ex()

bool GPU_type_matches_ex ( eGPUDeviceType  device,
eGPUOSType  os,
eGPUDriverType  driver,
eGPUBackendType  backend 
)