#include <GrMockTexture.h>
|
| GrMockRenderTarget (GrMockGpu *gpu, skgpu::Budgeted budgeted, SkISize dimensions, int sampleCnt, const GrMockRenderTargetInfo &info, std::string_view label) |
|
| GrMockRenderTarget (GrMockGpu *gpu, Wrapped, SkISize dimensions, int sampleCnt, const GrMockRenderTargetInfo &info, std::string_view label) |
|
bool | canAttemptStencilAttachment (bool useMSAASurface) const override |
|
bool | completeStencilAttachment (GrAttachment *, bool useMSAASurface) override |
|
size_t | onGpuMemorySize () const override |
|
GrBackendRenderTarget | getBackendRenderTarget () const override |
|
GrBackendFormat | backendFormat () const override |
|
virtual bool | alwaysClearStencil () const |
|
GrRenderTarget * | asRenderTarget () override |
|
const GrRenderTarget * | asRenderTarget () const override |
|
int | numSamples () const |
|
GrAttachment * | getStencilAttachment (bool useMSAASurface) const |
|
GrAttachment * | getStencilAttachment () const |
|
void | attachStencilAttachment (sk_sp< GrAttachment > stencil, bool useMSAASurface) |
|
int | numStencilBits (bool useMSAASurface) const |
|
int | getSamplePatternKey () |
|
const skia_private::TArray< SkPoint > & | getSampleLocations () |
|
void | setRequiresManualMSAAResolve () |
|
bool | requiresManualMSAAResolve () const |
|
SkISize | dimensions () const |
|
int | width () const |
|
int | height () const |
|
SkRect | getBoundsRect () const |
|
void | setRelease (sk_sp< skgpu::RefCntedCallback > releaseHelper) |
|
void | setRelease (ReleaseProc proc, ReleaseCtx ctx) |
|
virtual GrTexture * | asTexture () |
|
virtual const GrTexture * | asTexture () const |
|
GrInternalSurfaceFlags | flags () const |
|
bool | readOnly () const |
|
bool | framebufferOnly () const |
|
bool | isProtected () const |
|
void | setFramebufferOnly () |
|
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 |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
void | refCommandBuffer () const |
|
void | unrefCommandBuffer () const |
|
| SkNoncopyable ()=default |
|
| SkNoncopyable (SkNoncopyable &&)=default |
|
SkNoncopyable & | operator= (SkNoncopyable &&)=default |
|
|
| GrMockRenderTarget (GrMockGpu *gpu, SkISize dimensions, int sampleCnt, const GrMockRenderTargetInfo &info, std::string_view label) |
|
| GrRenderTarget (GrGpu *, const SkISize &, int sampleCount, GrProtected, std::string_view label, sk_sp< GrAttachment > stenicl=nullptr) |
|
| ~GrRenderTarget () override |
|
void | onAbandon () override |
|
void | onRelease () override |
|
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 |
|
void | registerWithCache (skgpu::Budgeted) |
|
void | registerWithCacheWrapped (GrWrapCacheable) |
|
| GrGpuResource (GrGpu *, std::string_view label) |
|
virtual | ~GrGpuResource () |
|
GrGpu * | getGpu () const |
|
virtual void | setMemoryBacking (SkTraceMemoryDump *, const SkString &) const |
|
SkString | getResourceName () const |
|
void | dumpMemoryStatisticsPriv (SkTraceMemoryDump *traceMemoryDump, const SkString &resourceName, const char *type, size_t size) const |
|
| GrIORef () |
|
bool | internalHasRef () const |
|
bool | internalHasNoCommandBufferUsages () const |
|
void | addInitialRef () const |
|
Definition at line 98 of file GrMockTexture.h.
◆ Wrapped
◆ GrMockRenderTarget() [1/3]
Definition at line 100 of file GrMockTexture.h.
110 }
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
void registerWithCache(skgpu::Budgeted)
SkISize dimensions() const
◆ GrMockRenderTarget() [2/3]
Definition at line 113 of file GrMockTexture.h.
120 }
void registerWithCacheWrapped(GrWrapCacheable)
◆ GrMockRenderTarget() [3/3]
◆ backendFormat()
◆ canAttemptStencilAttachment()
bool GrMockRenderTarget::canAttemptStencilAttachment |
( |
bool |
useMSAASurface | ) |
const |
|
inlineoverridevirtual |
◆ completeStencilAttachment()
bool GrMockRenderTarget::completeStencilAttachment |
( |
GrAttachment * |
, |
|
|
bool |
useMSAASurface |
|
) |
| |
|
inlineoverridevirtual |
◆ getBackendRenderTarget()
Implements GrRenderTarget.
Definition at line 142 of file GrMockTexture.h.
142 {
146 }
148 }
int GrBackendFormatStencilBits(const GrBackendFormat &format)
GrAttachment * getStencilAttachment() const
int numStencilBits(bool useMSAASurface) const
◆ onGpuMemorySize()
size_t GrMockRenderTarget::onGpuMemorySize |
( |
| ) |
const |
|
inlineoverridevirtual |
Implements GrGpuResource.
Reimplemented in GrMockTextureRenderTarget.
Definition at line 132 of file GrMockTexture.h.
132 {
134 if (numColorSamples > 1) {
135
136 ++numColorSamples;
137 }
140 }
GrBackendFormat backendFormat() const override
static size_t ComputeSize(const GrBackendFormat &, SkISize dimensions, int colorSamplesPerPixel, skgpu::Mipmapped, bool binSize=false)
◆ onSetLabel()
void GrMockRenderTarget::onSetLabel |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: