Flutter Engine
The Flutter Engine
|
Public Member Functions | |
BenchResource (GrGpu *gpu, std::string_view label) | |
Public Member Functions inherited from GrGpuResource | |
bool | wasDestroyed () const |
const GrDirectContext * | getContext () const |
GrDirectContext * | getContext () |
size_t | gpuMemorySize () const |
UniqueID | uniqueID () const |
const skgpu::UniqueKey & | getUniqueKey () const |
std::string | getLabel () const |
void | setLabel (std::string_view label) |
CacheAccess | cacheAccess () |
const CacheAccess | cacheAccess () const |
ProxyAccess | proxyAccess () |
ResourcePriv | resourcePriv () |
const ResourcePriv | resourcePriv () const |
virtual void | dumpMemoryStatistics (SkTraceMemoryDump *traceMemoryDump) const |
virtual const char * | getResourceType () const =0 |
Public Member Functions inherited from GrIORef< GrGpuResource > | |
bool | unique () const |
void | ref () const |
void | unref () const |
void | refCommandBuffer () const |
void | unrefCommandBuffer () const |
Public Member Functions inherited from SkNoncopyable | |
SkNoncopyable ()=default | |
SkNoncopyable (SkNoncopyable &&)=default | |
SkNoncopyable & | operator= (SkNoncopyable &&)=default |
Static Public Member Functions | |
static void | ComputeKey (int i, int keyData32Count, skgpu::UniqueKey *key) |
Static Public Member Functions inherited from GrGpuResource | |
static uint32_t | CreateUniqueID () |
Additional Inherited Members | |
Public Types inherited from GrIORef< GrGpuResource > | |
enum | LastRemovedRef |
Protected Member Functions inherited from GrGpuResource | |
void | registerWithCache (skgpu::Budgeted) |
void | registerWithCacheWrapped (GrWrapCacheable) |
GrGpuResource (GrGpu *, std::string_view label) | |
virtual | ~GrGpuResource () |
GrGpu * | getGpu () const |
virtual void | onRelease () |
virtual void | onAbandon () |
virtual void | setMemoryBacking (SkTraceMemoryDump *, const SkString &) const |
SkString | getResourceName () const |
void | dumpMemoryStatisticsPriv (SkTraceMemoryDump *traceMemoryDump, const SkString &resourceName, const char *type, size_t size) const |
Protected Member Functions inherited from GrIORef< GrGpuResource > | |
GrIORef () | |
bool | internalHasRef () const |
bool | internalHasNoCommandBufferUsages () const |
void | addInitialRef () const |
Definition at line 22 of file GrResourceCacheBench.cpp.
|
inline |
Definition at line 24 of file GrResourceCacheBench.cpp.
|
inlinestatic |
Definition at line 29 of file GrResourceCacheBench.cpp.