Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkSTArenaAlloc< InlineStorageSize > Class Template Reference

#include <SkArenaAlloc.h>

Inheritance diagram for SkSTArenaAlloc< InlineStorageSize >:
SkArenaAlloc

Public Member Functions

 SkSTArenaAlloc (size_t firstHeapAllocation=InlineStorageSize)
 
 ~SkSTArenaAlloc ()
 
- Public Member Functions inherited from SkArenaAlloc
 SkArenaAlloc (char *block, size_t blockSize, size_t firstHeapAllocation)
 
 SkArenaAlloc (size_t firstHeapAllocation)
 
 SkArenaAlloc (const SkArenaAlloc &)=delete
 
SkArenaAllocoperator= (const SkArenaAlloc &)=delete
 
 SkArenaAlloc (SkArenaAlloc &&)=delete
 
SkArenaAllocoperator= (SkArenaAlloc &&)=delete
 
 ~SkArenaAlloc ()
 
template<typename Ctor >
auto make (Ctor &&ctor) -> decltype(ctor(nullptr))
 
template<typename T , typename... Args>
Tmake (Args &&... args)
 
template<typename T >
Tmake ()
 
template<typename T >
TmakeArrayDefault (size_t count)
 
template<typename T >
TmakeArray (size_t count)
 
template<typename T , typename Initializer >
TmakeInitializedArray (size_t count, Initializer initializer)
 
void * makeBytesAlignedTo (size_t size, size_t align)
 

Additional Inherited Members

- Protected Types inherited from SkArenaAlloc
using FooterAction = char *(char *)
 
- Protected Member Functions inherited from SkArenaAlloc
char * cursor ()
 
char * end ()
 

Detailed Description

template<size_t InlineStorageSize>
class SkSTArenaAlloc< InlineStorageSize >

Definition at line 332 of file SkArenaAlloc.h.

Constructor & Destructor Documentation

◆ SkSTArenaAlloc()

template<size_t InlineStorageSize>
SkSTArenaAlloc< InlineStorageSize >::SkSTArenaAlloc ( size_t  firstHeapAllocation = InlineStorageSize)
inlineexplicit

Definition at line 334 of file SkArenaAlloc.h.

335 : SkArenaAlloc{this->data(), this->size(), firstHeapAllocation} {}
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

◆ ~SkSTArenaAlloc()

template<size_t InlineStorageSize>
SkSTArenaAlloc< InlineStorageSize >::~SkSTArenaAlloc ( )
inline

Definition at line 337 of file SkArenaAlloc.h.

337 {
338 // Be sure to unpoison the memory that is probably on the stack.
339 sk_asan_unpoison_memory_region(this->data(), this->size());
340 }
static void sk_asan_unpoison_memory_region(void const volatile *addr, size_t size)
Definition: SkASAN.h:41

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