8#ifndef GrGLMtlAttachment_DEFINED
9#define GrGLMtlAttachment_DEFINED
36 "MakeWrappedRenderBuffer"));
50 const SkString& dumpName)
const override;
59 std::string_view label)
@ kNo
Don't pre-clip the geometry before applying the (perspective) matrix.
UsageFlags supportedUsages() const
void onSetLabel() override
void setMemoryBacking(SkTraceMemoryDump *traceMemoryDump, const SkString &dumpName) const override
GrGLuint renderbufferID() const
static sk_sp< GrGLAttachment > MakeStencil(GrGLGpu *gpu, SkISize dimensions, int sampleCnt, GrGLFormat format)
static sk_sp< GrGLAttachment > MakeMSAA(GrGLGpu *gpu, SkISize dimensions, int sampleCnt, GrGLFormat format)
static sk_sp< GrGLAttachment > MakeWrappedRenderBuffer(GrGpu *gpu, GrGLuint renderbufferID, SkISize dimensions, UsageFlags supportedUsages, int sampleCnt, GrGLFormat format)
GrGLFormat format() const
GrBackendFormat backendFormat() const override
void onRelease() override
void onAbandon() override
void registerWithCache(skgpu::Budgeted)
SkISize dimensions() const