Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkBlockMemoryRefCnt Class Reference
Inheritance diagram for SkBlockMemoryRefCnt:
SkRefCnt SkRefCntBase

Public Member Functions

 SkBlockMemoryRefCnt (SkDynamicMemoryWStream::Block *head)
 
 ~SkBlockMemoryRefCnt () override
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Public Attributes

SkDynamicMemoryWStream::Block *const fHead
 

Detailed Description

Definition at line 740 of file SkStream.cpp.

Constructor & Destructor Documentation

◆ SkBlockMemoryRefCnt()

SkBlockMemoryRefCnt::SkBlockMemoryRefCnt ( SkDynamicMemoryWStream::Block head)
inlineexplicit

Definition at line 742 of file SkStream.cpp.

742: fHead(head) { }
SkDynamicMemoryWStream::Block *const fHead
Definition: SkStream.cpp:753

◆ ~SkBlockMemoryRefCnt()

SkBlockMemoryRefCnt::~SkBlockMemoryRefCnt ( )
inlineoverride

Definition at line 744 of file SkStream.cpp.

744 {
746 while (block != nullptr) {
748 sk_free(block);
749 block = next;
750 }
751 }
static float next(float f)
SK_API void sk_free(void *)

Member Data Documentation

◆ fHead

SkDynamicMemoryWStream::Block* const SkBlockMemoryRefCnt::fHead

Definition at line 753 of file SkStream.cpp.


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