Scaleform::SysAllocPagedMalloc
class SysAllocPagedMalloc : public SysAllocBase_SingletonSupport<SysAllocPagedMalloc, SysAllocPaged>;
SysAllocPagedMalloc is an malloc version of SysAllocPaged interface which uses standard library functions such as memalign() and free(). Using this custom block allocator, users can specify the preferred granularity of allocations, controlling how many memory allocation requests they will receive.
Method |
Description |
Allocates a large block of memory of specified size to the heap. | |
Frees the block of memory allocated by Alloc. | |
Returns the number of bytes allocated from the system for the custom allocator. | |
Returns the allocator alignment support and granularity capabilities of the system allocator implementation by filling in the SysAllocPaged::Info structure members. | |
Returns the actual amount of allocated/used bytes in the heap. | |
SysAllocPagedMalloc constructor. |
HeapPT_SysAllocMalloc.h