|
Blender V5.0
|
#include <gpu_testing.hh>
Inherits testing::Test.
Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
Static Protected Member Functions | |
| static void | SetUpTestSuite (GHOST_TDrawingContextType draw_context_type, GPUBackendType gpu_backend_type, int32_t g_debug_flags) |
| static void | TearDownTestSuite () |
Test class that setups a GPUContext for test cases.
Definition at line 20 of file gpu_testing.hh.
|
overrideprotected |
Definition at line 75 of file gpu_testing.cc.
References GPU_debug_group_begin().
|
staticprotected |
Definition at line 29 of file gpu_testing.cc.
References BLI_init_srgb_conversion(), BLI_threadapi_init(), CLG_init(), GHOST_GPUSettings::context_type, GHOST_GPUSettings::flags, G, GHOST_ActivateGPUContext(), GHOST_CreateGPUContext(), GHOST_CreateSystemBackground(), GHOST_gpuDebugContext, GPU_backend_ghost_system_set(), GPU_backend_supported(), 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 84 of file gpu_testing.cc.
References GPU_debug_group_end().
|
staticprotected |
Definition at line 59 of file gpu_testing.cc.
References CLG_exit(), G, GHOST_DisposeGPUContext(), GHOST_DisposeSystem(), GHOST_DisposeSystemPaths(), GPU_context_discard(), GPU_context_end_frame(), GPU_debug_capture_end(), GPU_exit(), and GPU_render_end().