Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SkMetaData::Rec Struct Reference

#include <SkMetaData.h>

Public Member Functions

const void * data () const
 
void * data ()
 
const char * name () const
 
char * name ()
 

Static Public Member Functions

static RecAlloc (size_t)
 
static void Free (Rec *)
 

Public Attributes

RecfNext
 
uint16_t fDataCount
 
uint8_t fDataLen
 
uint8_t fType
 

Detailed Description

Definition at line 91 of file SkMetaData.h.

Member Function Documentation

◆ Alloc()

SkMetaData::Rec * SkMetaData::Rec::Alloc ( size_t  size)
static

Definition at line 246 of file SkMetaData.cpp.

246 {
247 return (Rec*)sk_malloc_throw(size);
248}
static void * sk_malloc_throw(size_t size)
Definition: SkMalloc.h:67
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

◆ data() [1/2]

void * SkMetaData::Rec::data ( )
inline

Definition at line 98 of file SkMetaData.h.

98{ return (this + 1); }

◆ data() [2/2]

const void * SkMetaData::Rec::data ( ) const
inline

Definition at line 97 of file SkMetaData.h.

97{ return (this + 1); }

◆ Free()

void SkMetaData::Rec::Free ( Rec rec)
static

Definition at line 250 of file SkMetaData.cpp.

250 {
251 sk_free(rec);
252}
SK_API void sk_free(void *)

◆ name() [1/2]

char * SkMetaData::Rec::name ( )
inline

Definition at line 100 of file SkMetaData.h.

100{ return (char*)this->data() + fDataLen * fDataCount; }
const void * data() const
Definition: SkMetaData.h:97
uint16_t fDataCount
Definition: SkMetaData.h:93
uint8_t fDataLen
Definition: SkMetaData.h:94

◆ name() [2/2]

const char * SkMetaData::Rec::name ( ) const
inline

Definition at line 99 of file SkMetaData.h.

99{ return (const char*)this->data() + fDataLen * fDataCount; }

Member Data Documentation

◆ fDataCount

uint16_t SkMetaData::Rec::fDataCount

Definition at line 93 of file SkMetaData.h.

◆ fDataLen

uint8_t SkMetaData::Rec::fDataLen

Definition at line 94 of file SkMetaData.h.

◆ fNext

Rec* SkMetaData::Rec::fNext

Definition at line 92 of file SkMetaData.h.

◆ fType

uint8_t SkMetaData::Rec::fType

Definition at line 95 of file SkMetaData.h.


The documentation for this struct was generated from the following files: