Blender
V3.3
source
blender
draw
tests
draw_testing.cc
Go to the documentation of this file.
1
/* SPDX-License-Identifier: Apache-2.0 */
2
3
#include "
draw_testing.hh
"
4
5
#include "
GPU_shader.h
"
6
7
#include "
draw_manager_testing.h
"
8
9
namespace
blender::draw
{
10
11
/* Base class for draw test cases. It will setup and tear down the GPU part around each test. */
12
void
DrawOpenGLTest::SetUp
()
13
{
14
GPUOpenGLTest::SetUp();
15
DRW_draw_state_init_gtests(
GPU_SHADER_CFG_DEFAULT
);
16
}
17
18
}
// namespace blender::draw
GPU_shader.h
GPU_SHADER_CFG_DEFAULT
@ GPU_SHADER_CFG_DEFAULT
Definition:
GPU_shader.h:365
blender::draw::DrawOpenGLTest::SetUp
void SetUp() override
Definition:
draw_testing.cc:12
draw_manager_testing.h
draw_testing.hh
blender::draw
Definition:
image_drawing_mode.hh:20
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1