Flutter Engine
The Flutter Engine
|
#include <DawnTexture.h>
Public Member Functions | |
~DawnTexture () override | |
const wgpu::Texture & | dawnTexture () const |
const wgpu::TextureView & | sampleTextureView () const |
const wgpu::TextureView & | renderTextureView () const |
Public Member Functions inherited from skgpu::graphite::Texture | |
~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) |
Static Public Member Functions | |
static wgpu::Texture | MakeDawnTexture (const DawnSharedContext *, SkISize dimensions, const TextureInfo &) |
static sk_sp< Texture > | Make (const DawnSharedContext *, SkISize dimensions, const TextureInfo &, skgpu::Budgeted) |
static sk_sp< Texture > | MakeWrapped (const DawnSharedContext *, SkISize dimensions, const TextureInfo &, wgpu::Texture) |
static sk_sp< Texture > | MakeWrapped (const DawnSharedContext *, SkISize dimensions, const TextureInfo &, const wgpu::TextureView &) |
Additional Inherited Members | |
Protected Member Functions inherited from skgpu::graphite::Texture | |
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 () |
Definition at line 19 of file DawnTexture.h.
|
inlineoverride |
Definition at line 40 of file DawnTexture.h.
|
inline |
Definition at line 42 of file DawnTexture.h.
|
static |
Definition at line 131 of file DawnTexture.cpp.
|
static |
Definition at line 22 of file DawnTexture.cpp.
|
static |
Definition at line 170 of file DawnTexture.cpp.
|
static |
Definition at line 150 of file DawnTexture.cpp.
|
inline |
Definition at line 44 of file DawnTexture.h.
|
inline |
Definition at line 43 of file DawnTexture.h.