Blender V4.3
gpu_init_exit.cc File Reference

Go to the source code of this file.

Functions

void GPU_init ()
 
void GPU_exit ()
 
bool GPU_is_init ()
 

Variables

static bool initialized = false
 

Function Documentation

◆ GPU_exit()

◆ GPU_init()

◆ GPU_is_init()

bool GPU_is_init ( )

Variable Documentation

◆ initialized

bool initialized = false
static

although the order of initialization and shutdown should not matter (except for the extensions), I chose alphabetical and reverse alphabetical order

Definition at line 22 of file gpu_init_exit.cc.

Referenced by BLI_init_srgb_conversion(), device_cuda_init(), device_hip_init(), DRW_shader_init(), gpencil_frame_mirror_marker(), GPU_exit(), GPU_init(), GPU_is_init(), and blender::eevee::VelocityModule::step_camera_sync().