Blender V5.3
gpu_platform.cc File Reference
#include <cstdint>
#include "MEM_guardedalloc.h"
#include "BLI_dynstr.hh"
#include "BLI_string.hh"
#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
 BMesh Iterators.
namespace  blender::gpu

Functions

static char * blender::gpu::create_key (GPUSupportLevel 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
GPUSupportLevel blender::GPU_platform_support_level ()
const char * blender::GPU_platform_vendor ()
const char * blender::GPU_platform_renderer ()
const char * blender::GPU_platform_version ()
const char * blender::GPU_platform_support_level_key ()
const char * blender::GPU_platform_gpu_name ()
GPUArchitectureType blender::GPU_platform_architecture ()
bool blender::GPU_type_matches (GPUDeviceType device, GPUOSType os, GPUDriverType driver)
bool blender::GPU_type_matches_ex (GPUDeviceType device, GPUOSType os, GPUDriverType driver, GPUBackendType backend)
Span< GPUDevice > blender::GPU_platform_devices_list ()
Span< uint8_t > blender::GPU_platform_uuid ()
Span< uint8_t > blender::GPU_platform_luid ()
uint32_t blender::GPU_platform_luid_node_mask ()
GPUIntelGpuArch blender::GPU_platform_get_intel_arch (uint32_t device_id)

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.