Flutter Engine
The Flutter Engine
|
#include <Texture.h>
Public Member Functions | |
~Texture () override | |
int | numSamples () const |
Mipmapped | mipmapped () const |
SkISize | dimensions () const |
const TextureInfo & | textureInfo () const |
void | setReleaseCallback (sk_sp< RefCntedCallback >) |
const char * | getResourceType () const override |
Public Member Functions inherited from skgpu::graphite::Resource | |
Resource (const Resource &)=delete | |
Resource (Resource &&)=delete | |
Resource & | operator= (const Resource &)=delete |
Resource & | operator= (Resource &&)=delete |
void | ref () const |
void | unref () const |
void | refCommandBuffer () const |
void | unrefCommandBuffer () const |
Ownership | ownership () const |
skgpu::Budgeted | budgeted () const |
size_t | gpuMemorySize () const |
UniqueID | uniqueID () const |
virtual const char * | getResourceType () const =0 |
std::string | getLabel () const |
void | setLabel (std::string_view label) |
bool | wasDestroyed () const |
const GraphiteResourceKey & | key () const |
void | setKey (const GraphiteResourceKey &key) |
void | dumpMemoryStatistics (SkTraceMemoryDump *traceMemoryDump) const |
virtual void | prepareForReturnToCache (const std::function< void()> &takeRef) |
Protected Member Functions | |
Texture (const SharedContext *, SkISize dimensions, const TextureInfo &info, sk_sp< MutableTextureState > mutableState, Ownership, skgpu::Budgeted) | |
MutableTextureState * | mutableState () const |
void | invokeReleaseProc () override |
void | onDumpMemoryStatistics (SkTraceMemoryDump *traceMemoryDump, const char *dumpName) const override |
Protected Member Functions inherited from skgpu::graphite::Resource | |
Resource (const SharedContext *, Ownership, skgpu::Budgeted, size_t gpuMemorySize, bool commandBufferRefsAsUsageRefs=false) | |
virtual | ~Resource () |
const SharedContext * | sharedContext () const |
virtual void | onDumpMemoryStatistics (SkTraceMemoryDump *traceMemoryDump, const char *dumpName) const |
void | setDeleteASAP () |
|
override |
Definition at line 30 of file Texture.cpp.
|
protected |
Definition at line 19 of file Texture.cpp.
|
inline |
|
inlineoverridevirtual |
Implements skgpu::graphite::Resource.
Definition at line 36 of file Texture.h.
|
overrideprotectedvirtual |
Reimplemented from skgpu::graphite::Resource.
Definition at line 36 of file Texture.cpp.
|
inline |
|
protected |
Definition at line 44 of file Texture.cpp.
|
overrideprotectedvirtual |
Reimplemented from skgpu::graphite::Resource.
Definition at line 46 of file Texture.cpp.
void skgpu::graphite::Texture::setReleaseCallback | ( | sk_sp< RefCntedCallback > | releaseCallback | ) |
Definition at line 32 of file Texture.cpp.
|
inline |