Flutter Engine
The Flutter Engine
|
#include <GrVkTextureRenderTarget.h>
Protected Member Functions | |
void | onAbandon () override |
void | onRelease () override |
Protected Member Functions inherited from GrVkTexture | |
GrVkTexture (GrVkGpu *, SkISize dimensions, sk_sp< GrVkImage > texture, GrMipmapStatus, std::string_view label) | |
GrVkGpu * | getVkGpu () const |
void | onAbandon () override |
void | onRelease () override |
bool | onStealBackendTexture (GrBackendTexture *, SkImages::BackendTextureReleaseProc *) override |
void | onSetRelease (sk_sp< RefCntedReleaseProc > releaseHelper) override |
Protected Member Functions inherited from GrTexture | |
GrTexture (GrGpu *, const SkISize &, GrProtected, GrTextureType, GrMipmapStatus, std::string_view label) | |
virtual bool | onStealBackendTexture (GrBackendTexture *, SkImages::BackendTextureReleaseProc *)=0 |
void | computeScratchKey (skgpu::ScratchKey *) const override |
Protected Member Functions inherited from GrSurface | |
void | setGLRTFBOIDIs0 () |
bool | glRTFBOIDis0 () const |
void | setRequiresManualMSAAResolve () |
bool | requiresManualMSAAResolve () const |
void | setReadOnly () |
void | setVkRTSupportsInputAttachment () |
GrSurface (GrGpu *gpu, const SkISize &dimensions, skgpu::Protected isProtected, std::string_view label) | |
~GrSurface () override | |
void | onRelease () override |
void | onAbandon () override |
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 |
Protected Member Functions inherited from GrVkRenderTarget | |
GrVkRenderTarget (GrVkGpu *gpu, SkISize dimensions, sk_sp< GrVkImage > colorAttachment, sk_sp< GrVkImage > resolveImage, CreateType createType, std::string_view label) | |
void | onAbandon () override |
void | onRelease () override |
size_t | onGpuMemorySize () const override |
void | onSetLabel () override |
Protected Member Functions inherited from GrRenderTarget | |
GrRenderTarget (GrGpu *, const SkISize &, int sampleCount, GrProtected, std::string_view label, sk_sp< GrAttachment > stenicl=nullptr) | |
~GrRenderTarget () override | |
void | onAbandon () override |
void | onRelease () override |
Additional Inherited Members | |
Public Types inherited from GrSurface | |
typedef void * | ReleaseCtx |
typedef void(* | ReleaseProc) (ReleaseCtx) |
Public Types inherited from GrIORef< GrGpuResource > | |
enum | LastRemovedRef |
Public Types inherited from GrVkRenderTarget | |
using | SelfDependencyFlags = GrVkRenderPass::SelfDependencyFlags |
using | LoadFromResolve = GrVkRenderPass::LoadFromResolve |
Protected Types inherited from GrVkRenderTarget | |
enum class | CreateType { kDirectlyWrapped , kFromTextureRT } |
Definition at line 27 of file GrVkTextureRenderTarget.h.
|
inlineoverridevirtual |
Reimplemented from GrVkRenderTarget.
Definition at line 48 of file GrVkTextureRenderTarget.h.
|
static |
Definition at line 87 of file GrVkTextureRenderTarget.cpp.
|
static |
Definition at line 127 of file GrVkTextureRenderTarget.cpp.
|
inlineoverrideprotectedvirtual |
Overridden to abandon any internal handles, ptrs, etc to backend API resources. This may be called when the underlying 3D context is no longer valid and so no backend API calls should be made.
Reimplemented from GrVkRenderTarget.
Definition at line 51 of file GrVkTextureRenderTarget.h.
|
inlineoverrideprotectedvirtual |
Overridden to free GPU resources in the backend API.
Reimplemented from GrVkRenderTarget.
Definition at line 57 of file GrVkTextureRenderTarget.h.