Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkDiscardableMemory::Factory Class Referenceabstract

#include <SkDiscardableMemory.h>

Inheritance diagram for SkDiscardableMemory::Factory:
SkRefCnt SkRefCntBase SkDiscardableMemoryPool

Public Member Functions

virtual SkDiscardableMemorycreate (size_t bytes)=0
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

Factory class that creates, initializes and locks an SkDiscardableMemory object. If either of these steps fails, a nullptr pointer will be returned.

Definition at line 30 of file SkDiscardableMemory.h.

Member Function Documentation

◆ create()

virtual SkDiscardableMemory * SkDiscardableMemory::Factory::create ( size_t  bytes)
pure virtual

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