|
Blender V4.3
|
#include <gpu_testing.hh>
Inherits testing::Test.
Protected Member Functions | |
| GPUTest (GHOST_TDrawingContextType draw_context_type, eGPUBackendType gpu_backend_type, int32_t g_debug_flags) | |
| void | SetUp () override |
| void | TearDown () override |
Test class that setups a GPUContext for test cases.
Definition at line 20 of file gpu_testing.hh.
|
inlineprotected |
Definition at line 32 of file gpu_testing.hh.
|
overrideprotected |
Definition at line 20 of file gpu_testing.cc.
References BLI_init_srgb_conversion(), CLG_init(), GHOST_GPUSettings::context_type, GHOST_GPUSettings::flags, G, GHOST_ActivateGPUContext(), GHOST_CreateGPUContext(), GHOST_CreateSystem(), GHOST_gpuDebugContext, GPU_backend_ghost_system_set(), GPU_backend_type_selection_set(), GPU_context_begin_frame(), GPU_context_create(), GPU_debug_capture_begin(), GPU_init(), and GPU_render_begin().
|
overrideprotected |
Definition at line 44 of file gpu_testing.cc.
References CLG_exit(), G, GHOST_DisposeGPUContext(), GHOST_DisposeSystem(), GPU_context_discard(), GPU_context_end_frame(), GPU_debug_capture_end(), GPU_exit(), and GPU_render_end().