Blender V5.0
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 23 of file gpu_init_exit.cc.

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