Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-05-14 08:55:01 +0300
committerJeroen Bakker <jeroen@blender.org>2021-05-14 08:55:01 +0300
commit55b9b1ff507c524834ece73908f36ccf14928f63 (patch)
tree88c6bcef697716f55ac4b425f66478ad7be9a79d /source/blender/draw/tests/draw_testing.hh
parentbd76184966add88911c03986a59a42911e8663fa (diff)
Draw: Put DrawTest in its own compile unit.
DrawTest will be used by other tests as well.
Diffstat (limited to 'source/blender/draw/tests/draw_testing.hh')
-rw-r--r--source/blender/draw/tests/draw_testing.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/draw/tests/draw_testing.hh b/source/blender/draw/tests/draw_testing.hh
new file mode 100644
index 00000000000..3b91de007a2
--- /dev/null
+++ b/source/blender/draw/tests/draw_testing.hh
@@ -0,0 +1,12 @@
+/* Apache License, Version 2.0 */
+
+#include "gpu_testing.hh"
+
+namespace blender::draw {
+
+/* Base class for draw test cases. It will setup and tear down the GPU part around each test. */
+class DrawTest : public blender::gpu::GPUTest {
+ void SetUp() override;
+};
+
+} // namespace blender::draw