The build scripts are still referring to gpu tests as being opengl. Although they can also use Metal or Vulkan. This PR only replaces the work `opengl` with `gpu` for build options. Special note is that the windows argument `with_opengl_tests` is also replaced with `with_gpu_tests` for consistency. Pull Request: https://projects.blender.org/blender/blender/pulls/116030
26 lines
373 B
C
26 lines
373 B
C
/* SPDX-FileCopyrightText: 2016 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup draw
|
|
*/
|
|
|
|
/* Internal API only for test cases. */
|
|
|
|
#pragma once
|
|
|
|
#include "GPU_shader.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef WITH_GPU_DRAW_TESTS
|
|
void DRW_draw_state_init_gtests(eGPUShaderConfig sh_cfg);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|