diff options
Diffstat (limited to 'source/blender/gpu/metal/mtl_drawlist.hh')
-rw-r--r-- | source/blender/gpu/metal/mtl_drawlist.hh | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/source/blender/gpu/metal/mtl_drawlist.hh b/source/blender/gpu/metal/mtl_drawlist.hh new file mode 100644 index 00000000000..ed99c76faa7 --- /dev/null +++ b/source/blender/gpu/metal/mtl_drawlist.hh @@ -0,0 +1,42 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +/** \file + * \ingroup gpu + * + * Implementation of Multi Draw Indirect using OpenGL. + * Fallback if the needed extensions are not supported. + */ + +#pragma once + +#pragma once + +#include "gpu_drawlist_private.hh" + +namespace blender { +namespace gpu { + +/** + * TODO(Metal): MTLDrawList Implementation. Included as temporary stub. + */ +class MTLDrawList : public DrawList { + public: + MTLDrawList(int length) + { + } + ~MTLDrawList() + { + } + + void append(GPUBatch *batch, int i_first, int i_count) override + { + } + void submit() override + { + } + + MEM_CXX_CLASS_ALLOC_FUNCS("MTLDrawList"); +}; + +} // namespace gpu +} // namespace blender |