Flutter Engine
The Flutter Engine
|
#include <SubRunAllocator.h>
Public Member Functions | |
STSubRunAllocator (size_t firstHeapAllocation=InlineStorageSize) | |
Public Member Functions inherited from sktext::gpu::SubRunAllocator | |
SubRunAllocator (char *block, int blockSize, int firstHeapAllocation) | |
SubRunAllocator (int firstHeapAllocation=0) | |
SubRunAllocator (const SubRunAllocator &)=delete | |
SubRunAllocator & | operator= (const SubRunAllocator &)=delete |
SubRunAllocator (SubRunAllocator &&)=default | |
SubRunAllocator & | operator= (SubRunAllocator &&)=default |
template<typename T , typename... Args> | |
T * | makePOD (Args &&... args) |
template<typename T , typename... Args> | |
std::unique_ptr< T, Destroyer > | makeUnique (Args &&... args) |
template<typename T > | |
T * | makePODArray (int n) |
template<typename T > | |
SkSpan< T > | makePODSpan (SkSpan< const T > s) |
template<typename T , typename Src , typename Map > | |
SkSpan< T > | makePODArray (const Src &src, Map map) |
template<typename T > | |
std::unique_ptr< T[], ArrayDestroyer > | makeUniqueArray (int n) |
template<typename T , typename I > | |
std::unique_ptr< T[], ArrayDestroyer > | makeUniqueArray (int n, I initializer) |
template<typename T , typename U , typename Map > | |
std::unique_ptr< T[], ArrayDestroyer > | makeUniqueArray (SkSpan< const U > src, Map map) |
void * | alignedBytes (int size, int alignment) |
Additional Inherited Members | |
Static Public Member Functions inherited from sktext::gpu::SubRunAllocator | |
template<typename T > | |
static std::tuple< SubRunInitializer< T >, int, SubRunAllocator > | AllocateClassMemoryAndArena (int allocSizeHint) |
Static Public Attributes inherited from sktext::gpu::SubRunAllocator | |
template<class T > | |
static constexpr bool | HasNoDestructor = std::is_trivially_destructible<T>::value |
Definition at line 333 of file SubRunAllocator.h.
|
inlineexplicit |
Definition at line 338 of file SubRunAllocator.h.