Blender  V3.3
Functions | Variables
gpu_init_exit.c File Reference
#include "GPU_init_exit.h"
#include "BLI_sys_types.h"
#include "GPU_batch.h"
#include "intern/gpu_codegen.h"
#include "intern/gpu_private.h"
#include "intern/gpu_shader_create_info_private.hh"
#include "intern/gpu_shader_dependency_private.h"

Go to the source code of this file.

Functions

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

Variables

static bool initialized = false
 

Function Documentation

◆ GPU_exit()

void GPU_exit ( void  )

◆ GPU_init()

void GPU_init ( void  )

◆ GPU_is_init()

bool GPU_is_init ( void  )

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.c.

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