#include <allocator_mtl.h>
Definition at line 37 of file allocator_mtl.h.
◆ AllocatorMTL() [1/2]
| impeller::AllocatorMTL::AllocatorMTL |
( |
| ) |
|
◆ ~AllocatorMTL()
| impeller::AllocatorMTL::~AllocatorMTL |
( |
| ) |
|
|
overridedefault |
◆ AllocatorMTL() [2/2]
| impeller::AllocatorMTL::AllocatorMTL |
( |
id< MTLDevice > |
device, |
|
|
std::string |
label |
|
) |
| |
◆ DebugGetHeapUsage()
| Bytes impeller::AllocatorMTL::DebugGetHeapUsage |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from impeller::Allocator.
Definition at line 217 of file allocator_mtl.mm.
217 {
218#ifdef IMPELLER_DEBUG
219 return debug_allocater_->GetAllocationSize();
220#else
221 return {};
222#endif
223}
◆ DebugSetSupportsUMA()
| void impeller::AllocatorMTL::DebugSetSupportsUMA |
( |
bool |
value | ) |
|
◆ ContextMTL
The documentation for this class was generated from the following files: