Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
SkSBlockAllocator< N > Class Template Reference

#include <SkBlockAllocator.h>

Inheritance diagram for SkSBlockAllocator< N >:
SkNoncopyable

Public Types

using GrowthPolicy = SkBlockAllocator::GrowthPolicy
 

Public Member Functions

 SkSBlockAllocator ()
 
 SkSBlockAllocator (GrowthPolicy policy)
 
 SkSBlockAllocator (GrowthPolicy policy, size_t blockIncrementBytes)
 
 ~SkSBlockAllocator ()
 
SkBlockAllocatoroperator-> ()
 
const SkBlockAllocatoroperator-> () const
 
SkBlockAllocatorallocator ()
 
const SkBlockAllocatorallocator () const
 

Detailed Description

template<size_t N>
class SkSBlockAllocator< N >

Definition at line 481 of file SkBlockAllocator.h.

Member Typedef Documentation

◆ GrowthPolicy

Definition at line 483 of file SkBlockAllocator.h.

Constructor & Destructor Documentation

◆ SkSBlockAllocator() [1/3]

template<size_t N>
SkSBlockAllocator< N >::SkSBlockAllocator ( )
inline

Definition at line 485 of file SkBlockAllocator.h.

◆ SkSBlockAllocator() [2/3]

template<size_t N>
SkSBlockAllocator< N >::SkSBlockAllocator ( GrowthPolicy  policy)
inlineexplicit

Definition at line 488 of file SkBlockAllocator.h.

488 {
489 new (fStorage) SkBlockAllocator(policy, N, N - sizeof(SkBlockAllocator));
490 }
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 policy
Definition: switches.h:248

◆ SkSBlockAllocator() [3/3]

template<size_t N>
SkSBlockAllocator< N >::SkSBlockAllocator ( GrowthPolicy  policy,
size_t  blockIncrementBytes 
)
inline

Definition at line 492 of file SkBlockAllocator.h.

492 {
493 new (fStorage) SkBlockAllocator(policy, blockIncrementBytes, N - sizeof(SkBlockAllocator));
494 }

◆ ~SkSBlockAllocator()

template<size_t N>
SkSBlockAllocator< N >::~SkSBlockAllocator ( )
inline

Definition at line 496 of file SkBlockAllocator.h.

496 {
497 this->allocator()->~SkBlockAllocator();
498 }
SkBlockAllocator * allocator()

Member Function Documentation

◆ allocator() [1/2]

template<size_t N>
SkBlockAllocator * SkSBlockAllocator< N >::allocator ( )
inline

Definition at line 503 of file SkBlockAllocator.h.

503{ return reinterpret_cast<SkBlockAllocator*>(fStorage); }

◆ allocator() [2/2]

template<size_t N>
const SkBlockAllocator * SkSBlockAllocator< N >::allocator ( ) const
inline

Definition at line 504 of file SkBlockAllocator.h.

504 {
505 return reinterpret_cast<const SkBlockAllocator*>(fStorage);
506 }

◆ operator->() [1/2]

template<size_t N>
SkBlockAllocator * SkSBlockAllocator< N >::operator-> ( )
inline

Definition at line 500 of file SkBlockAllocator.h.

500{ return this->allocator(); }

◆ operator->() [2/2]

template<size_t N>
const SkBlockAllocator * SkSBlockAllocator< N >::operator-> ( ) const
inline

Definition at line 501 of file SkBlockAllocator.h.

501{ return this->allocator(); }

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