Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/metal/mtl_backend.hh
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | public: | ||||
| void compute_dispatch_indirect(StorageBuf *indirect_buf) override | void compute_dispatch_indirect(StorageBuf *indirect_buf) override | ||||
| { | { | ||||
| /* Placeholder */ | /* Placeholder */ | ||||
| } | } | ||||
| /* MTL Allocators need to be implemented in separate .mm files, due to allocation of Objective-C | /* MTL Allocators need to be implemented in separate .mm files, due to allocation of Objective-C | ||||
| * objects. */ | * objects. */ | ||||
| Context *context_alloc(void *ghost_window) override; | Context *context_alloc(void *ghost_window, void *ghost_context) override; | ||||
| Batch *batch_alloc() override; | Batch *batch_alloc() override; | ||||
| DrawList *drawlist_alloc(int list_length) override; | DrawList *drawlist_alloc(int list_length) override; | ||||
| FrameBuffer *framebuffer_alloc(const char *name) override; | FrameBuffer *framebuffer_alloc(const char *name) override; | ||||
| IndexBuf *indexbuf_alloc() override; | IndexBuf *indexbuf_alloc() override; | ||||
| QueryPool *querypool_alloc() override; | QueryPool *querypool_alloc() override; | ||||
| Shader *shader_alloc(const char *name) override; | Shader *shader_alloc(const char *name) override; | ||||
| Texture *texture_alloc(const char *name) override; | Texture *texture_alloc(const char *name) override; | ||||
| UniformBuf *uniformbuf_alloc(int size, const char *name) override; | UniformBuf *uniformbuf_alloc(int size, const char *name) override; | ||||
| Show All 17 Lines | |||||