|
Blender V5.3
|
#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 23 of file gpu_testing.hh.
|
overrideprotected |
Definition at line 78 of file gpu_testing.cc.
References blender::GPU_debug_group_begin().
|
staticprotected |
Definition at line 31 of file gpu_testing.cc.
References blender::BLI_init_srgb_conversion(), GHOST_GPUSettings::context_type, GHOST_ISystem::createSystemBackground(), GHOST_GPUSettings::flags, blender::G, GHOST_ISystem::getSystem(), GHOST_gpuDebugContext, blender::GPU_backend_ghost_system_set(), blender::GPU_backend_supported(), blender::GPU_backend_type_selection_set(), blender::GPU_context_begin_frame(), blender::GPU_context_create(), blender::GPU_debug_capture_begin(), blender::GPU_init(), blender::GPU_render_begin(), and blender::bke::gtest_setup().
|
overrideprotected |
Definition at line 87 of file gpu_testing.cc.
References blender::GPU_debug_group_end().
|
staticprotected |
Definition at line 61 of file gpu_testing.cc.
References GHOST_ISystemPaths::dispose(), GHOST_ISystem::disposeSystem(), blender::G, blender::GPU_context_discard(), blender::GPU_context_end_frame(), blender::GPU_debug_capture_end(), blender::GPU_exit(), blender::GPU_render_end(), and blender::bke::gtest_teardown().