Blender  V2.93
Namespaces | 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

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
 

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

eGPUSupportLevel GPU_platform_support_level ( void  )

◆ GPU_platform_support_level_key()

const char* GPU_platform_support_level_key ( void  )

◆ GPU_type_matches()

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