Flutter Engine
The Flutter Engine
|
#include <GrMockAttachment.h>
Additional Inherited Members | |
Public Types inherited from GrAttachment | |
enum class | UsageFlags : uint8_t { kStencilAttachment = 0x1 , kColorAttachment = 0x2 , kTexture = 0x4 } |
Public Types inherited from GrSurface | |
typedef void * | ReleaseCtx |
typedef void(* | ReleaseProc) (ReleaseCtx) |
Public Types inherited from GrIORef< GrGpuResource > | |
enum | LastRemovedRef |
Static Public Member Functions inherited from GrAttachment | |
static void | ComputeSharedAttachmentUniqueKey (const GrCaps &caps, const GrBackendFormat &format, SkISize dimensions, UsageFlags requiredUsage, int sampleCnt, skgpu::Mipmapped mipmapped, GrProtected isProtected, GrMemoryless memoryless, skgpu::UniqueKey *key) |
static void | ComputeScratchKey (const GrCaps &caps, const GrBackendFormat &format, SkISize dimensions, UsageFlags requiredUsage, int sampleCnt, skgpu::Mipmapped mipmapped, GrProtected, GrMemoryless, skgpu::ScratchKey *key) |
Static Public Member Functions inherited from GrSurface | |
static size_t | ComputeSize (const GrBackendFormat &, SkISize dimensions, int colorSamplesPerPixel, skgpu::Mipmapped, bool binSize=false) |
Static Public Member Functions inherited from GrGpuResource | |
static uint32_t | CreateUniqueID () |
Protected Member Functions inherited from GrAttachment | |
GrAttachment (GrGpu *gpu, SkISize dimensions, UsageFlags supportedUsages, int sampleCnt, skgpu::Mipmapped mipmapped, GrProtected isProtected, std::string_view label, GrMemoryless memoryless=GrMemoryless::kNo) | |
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 |
Definition at line 22 of file GrMockAttachment.h.
|
inline |
Definition at line 24 of file GrMockAttachment.h.
|
inlineoverridevirtual |
Implements GrSurface.
Definition at line 40 of file GrMockAttachment.h.