Blender
V3.3
|
#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 |
Definition at line 45 of file gpu_init_exit.c.
References gpu_backend_delete_resources(), gpu_batch_exit(), gpu_codegen_exit(), gpu_pbvh_exit(), gpu_shader_create_info_exit(), gpu_shader_dependency_exit(), and initialized.
Referenced by blender::gpu::shader_builder::ShaderBuilder::exit(), multitestapp_free(), blender::gpu::GPUTest::TearDown(), WM_exit_ex(), and wm_main_playanim_intern().
Definition at line 24 of file gpu_init_exit.c.
References gpu_batch_init(), gpu_codegen_init(), gpu_pbvh_init(), gpu_shader_create_info_init(), gpu_shader_dependency_init(), and initialized.
Referenced by extrawindow_new(), blender::gpu::shader_builder::ShaderBuilder::init(), loggerwindow_new(), mainwindow_new(), blender::gpu::GPUTest::SetUp(), WM_init_opengl(), wm_main_playanim_intern(), and wm_window_ghostwindow_add().
Definition at line 63 of file gpu_init_exit.c.
References initialized.
Referenced by bpygpu_is_init_or_error(), pygpu_framebuffer_free_if_possible(), and texture_paint_image_from_view_poll().
|
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().