Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::UniqueKeyInvalidatedMessage Class Reference

#include <ResourceKey.h>

Public Member Functions

 UniqueKeyInvalidatedMessage ()=default
 
 UniqueKeyInvalidatedMessage (const UniqueKey &key, uint32_t contextUniqueID, bool inThreadSafeCache=false)
 
 UniqueKeyInvalidatedMessage (const UniqueKeyInvalidatedMessage &)=default
 
UniqueKeyInvalidatedMessageoperator= (const UniqueKeyInvalidatedMessage &)=default
 
const UniqueKeykey () const
 
uint32_t contextID () const
 
bool inThreadSafeCache () const
 

Detailed Description

Definition at line 336 of file ResourceKey.h.

Constructor & Destructor Documentation

◆ UniqueKeyInvalidatedMessage() [1/3]

skgpu::UniqueKeyInvalidatedMessage::UniqueKeyInvalidatedMessage ( )
default

◆ UniqueKeyInvalidatedMessage() [2/3]

skgpu::UniqueKeyInvalidatedMessage::UniqueKeyInvalidatedMessage ( const UniqueKey key,
uint32_t  contextUniqueID,
bool  inThreadSafeCache = false 
)
inline

Definition at line 339 of file ResourceKey.h.

342 : fKey(key), fContextID(contextUniqueID), fInThreadSafeCache(inThreadSafeCache) {
343 SkASSERT(SK_InvalidUniqueID != contextUniqueID);
344 }
#define SkASSERT(cond)
Definition: SkAssert.h:116
static constexpr uint32_t SK_InvalidUniqueID
Definition: SkTypes.h:196
const UniqueKey & key() const
Definition: ResourceKey.h:350

◆ UniqueKeyInvalidatedMessage() [3/3]

skgpu::UniqueKeyInvalidatedMessage::UniqueKeyInvalidatedMessage ( const UniqueKeyInvalidatedMessage )
default

Member Function Documentation

◆ contextID()

uint32_t skgpu::UniqueKeyInvalidatedMessage::contextID ( ) const
inline

Definition at line 351 of file ResourceKey.h.

351{ return fContextID; }

◆ inThreadSafeCache()

bool skgpu::UniqueKeyInvalidatedMessage::inThreadSafeCache ( ) const
inline

Definition at line 352 of file ResourceKey.h.

352{ return fInThreadSafeCache; }

◆ key()

const UniqueKey & skgpu::UniqueKeyInvalidatedMessage::key ( ) const
inline

Definition at line 350 of file ResourceKey.h.

350{ return fKey; }

◆ operator=()

UniqueKeyInvalidatedMessage & skgpu::UniqueKeyInvalidatedMessage::operator= ( const UniqueKeyInvalidatedMessage )
default

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