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

mtl_drawlist.hh « metal « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ed99c76faa7169f05d54056ac2733ddf555504ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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