2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: Apache-2.0 */
|
2021-05-14 07:55:01 +02:00
|
|
|
|
|
|
|
|
#include "draw_testing.hh"
|
|
|
|
|
|
|
|
|
|
#include "GPU_shader.h"
|
|
|
|
|
|
|
|
|
|
#include "draw_manager_testing.h"
|
|
|
|
|
|
|
|
|
|
namespace blender::draw {
|
|
|
|
|
|
|
|
|
|
/* Base class for draw test cases. It will setup and tear down the GPU part around each test. */
|
2021-06-28 08:28:56 +02:00
|
|
|
void DrawOpenGLTest::SetUp()
|
2021-05-14 07:55:01 +02:00
|
|
|
{
|
2021-06-28 08:28:56 +02:00
|
|
|
GPUOpenGLTest::SetUp();
|
2021-05-14 07:55:01 +02:00
|
|
|
DRW_draw_state_init_gtests(GPU_SHADER_CFG_DEFAULT);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace blender::draw
|