Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
GrResourceCache.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GrDirectContext.h"
#include "include/private/base/SkTArray.h"
#include "src/base/SkTDPQueue.h"
#include "src/base/SkTInternalLList.h"
#include "src/core/SkMessageBus.h"
#include "src/core/SkTHash.h"
#include "src/core/SkTMultiMap.h"
#include "src/gpu/ResourceKey.h"
#include "src/gpu/ganesh/GrGpuResource.h"
#include "src/gpu/ganesh/GrGpuResourceCacheAccess.h"
#include "src/gpu/ganesh/GrGpuResourcePriv.h"

Go to the source code of this file.

Classes

class  GrResourceCache
 
class  GrResourceCache::UnrefResourceMessage
 
class  GrResourceCache::ResourceAccess
 

Namespaces

namespace  skgpu
 

Functions

static bool SkShouldPostMessageToBus (const GrResourceCache::UnrefResourceMessage &msg, GrDirectContext::DirectContextID potentialRecipient)
 

Function Documentation

◆ SkShouldPostMessageToBus()

static bool SkShouldPostMessageToBus ( const GrResourceCache::UnrefResourceMessage msg,
GrDirectContext::DirectContextID  potentialRecipient 
)
inlinestatic

Definition at line 482 of file GrResourceCache.h.

483 {
484 return potentialRecipient == msg.recipient();
485}
GrDirectContext::DirectContextID recipient() const