Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
sktext::gpu::STSubRunAllocator< InlineStorageSize, InlineStorageAlignment > Class Template Reference

#include <SubRunAllocator.h>

Inheritance diagram for sktext::gpu::STSubRunAllocator< InlineStorageSize, InlineStorageAlignment >:
sktext::gpu::SubRunAllocator

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
 
SubRunAllocatoroperator= (const SubRunAllocator &)=delete
 
 SubRunAllocator (SubRunAllocator &&)=default
 
SubRunAllocatoroperator= (SubRunAllocator &&)=default
 
template<typename T , typename... Args>
TmakePOD (Args &&... args)
 
template<typename T , typename... Args>
std::unique_ptr< T, DestroyermakeUnique (Args &&... args)
 
template<typename T >
TmakePODArray (int n)
 
template<typename T >
SkSpan< TmakePODSpan (SkSpan< const T > s)
 
template<typename T , typename Src , typename Map >
SkSpan< TmakePODArray (const Src &src, Map map)
 
template<typename T >
std::unique_ptr< T[], ArrayDestroyermakeUniqueArray (int n)
 
template<typename T , typename I >
std::unique_ptr< T[], ArrayDestroyermakeUniqueArray (int n, I initializer)
 
template<typename T , typename U , typename Map >
std::unique_ptr< T[], ArrayDestroyermakeUniqueArray (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, SubRunAllocatorAllocateClassMemoryAndArena (int allocSizeHint)
 
- Static Public Attributes inherited from sktext::gpu::SubRunAllocator
template<class T >
static constexpr bool HasNoDestructor = std::is_trivially_destructible<T>::value
 

Detailed Description

template<size_t InlineStorageSize, size_t InlineStorageAlignment>
class sktext::gpu::STSubRunAllocator< InlineStorageSize, InlineStorageAlignment >

Definition at line 333 of file SubRunAllocator.h.

Constructor & Destructor Documentation

◆ STSubRunAllocator()

template<size_t InlineStorageSize, size_t InlineStorageAlignment>
sktext::gpu::STSubRunAllocator< InlineStorageSize, InlineStorageAlignment >::STSubRunAllocator ( size_t  firstHeapAllocation = InlineStorageSize)
inlineexplicit

Definition at line 338 of file SubRunAllocator.h.

339 : SubRunAllocator{this->data(), SkToInt(this->size()), SkToInt(firstHeapAllocation)} {}
constexpr int SkToInt(S x)
Definition: SkTo.h:29
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

The documentation for this class was generated from the following file: