Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
ClientHandleManager Class Reference
Inheritance diagram for ClientHandleManager:
SkStrikeClient::DiscardableHandleManager SkRefCnt SkRefCntBase

Public Member Functions

bool deleteHandle (SkDiscardableHandleId id) override
 
void assertHandleValid (SkDiscardableHandleId id) override
 
void notifyCacheMiss (SkStrikeClient::CacheMissType type, int fontSize) override
 
void notifyReadFailure (const ReadFailureData &data) override
 
void unlock ()
 
- Public Member Functions inherited from SkStrikeClient::DiscardableHandleManager
 ~DiscardableHandleManager () override=default
 
virtual bool deleteHandle (SkDiscardableHandleId)=0
 
virtual void assertHandleValid (SkDiscardableHandleId)
 
virtual void notifyCacheMiss (CacheMissType type, int fontSize)=0
 
virtual void notifyReadFailure (const ReadFailureData &data)
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

Definition at line 100 of file SkTestCanvas.cpp.

Member Function Documentation

◆ assertHandleValid()

void ClientHandleManager::assertHandleValid ( SkDiscardableHandleId  id)
inlineoverridevirtual

Reimplemented from SkStrikeClient::DiscardableHandleManager.

Definition at line 106 of file SkTestCanvas.cpp.

106 {
107 DiscardableHandleManager::assertHandleValid(id);
108 }

◆ deleteHandle()

bool ClientHandleManager::deleteHandle ( SkDiscardableHandleId  id)
inlineoverridevirtual

Implements SkStrikeClient::DiscardableHandleManager.

Definition at line 102 of file SkTestCanvas.cpp.

102 {
103 return fIsLocked;
104 }

◆ notifyCacheMiss()

void ClientHandleManager::notifyCacheMiss ( SkStrikeClient::CacheMissType  type,
int  fontSize 
)
inlineoverridevirtual

Implements SkStrikeClient::DiscardableHandleManager.

Definition at line 110 of file SkTestCanvas.cpp.

110 {
111
112 }

◆ notifyReadFailure()

void ClientHandleManager::notifyReadFailure ( const ReadFailureData data)
inlineoverridevirtual

Reimplemented from SkStrikeClient::DiscardableHandleManager.

Definition at line 114 of file SkTestCanvas.cpp.

114 {
115 DiscardableHandleManager::notifyReadFailure(data);
116 }
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ unlock()

void ClientHandleManager::unlock ( )
inline

Definition at line 118 of file SkTestCanvas.cpp.

118 {
119 fIsLocked = true;
120 }

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