8#ifndef GrRenderTargetProxy_DEFINED
9#define GrRenderTargetProxy_DEFINED
102 fMSAADirtyRect.
join(dirtyRect);
109 SkASSERT(fMSAADirtyRect.
isEmpty() || this->requiresManualMSAAResolve());
114 return fMSAADirtyRect;
121 if (fArenas ==
nullptr) {
122 fArenas = sk_make_sp<GrArenas>();
128 if (fArenas !=
nullptr) {
147 std::string_view label);
171 std::string_view label);
181 size_t onUninstantiatedGpuMemorySize()
const override;
194 int8_t fNeedsStencil =
false;
@ kVkRTSupportsInputAttachment
#define SK_ABORT(message,...)
@ kYes
Do pre-clip the geometry before applying the (perspective) matrix.
@ kNo
Don't pre-clip the geometry before applying the (perspective) matrix.
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
sktext::gpu::SubRunAllocator * subRunAlloc()
SkArenaAlloc * arenaAlloc()
GrRenderTargetProxy * asRenderTargetProxy() override
GrRenderTargetProxy(const GrCaps &, const GrBackendFormat &, SkISize, int sampleCount, SkBackingFit, skgpu::Budgeted, skgpu::Protected, GrInternalSurfaceFlags, UseAllocator, std::string_view label)
int maxWindowRectangles(const GrCaps &caps) const
void markMSAADirty(SkIRect dirtyRect)
const GrRenderTargetProxy * asRenderTargetProxy() const override
bool supportsVkInputAttachment() const
bool instantiate(GrResourceProvider *) override
const SkIRect & msaaDirtyRect() const
bool glRTFBOIDIs0() const
sk_sp< GrSurface > createSurface(GrResourceProvider *) const override
bool wrapsVkSecondaryCB() const
sk_sp< GrArenas > arenas()
bool canUseStencil(const GrCaps &caps) const
bool refsWrappedObjects() const
SkISize backingStoreDimensions() const
bool requiresManualMSAAResolve() const
virtual LazySurfaceDesc callbackDesc() const =0
GrSurfaceProxy(const GrBackendFormat &, SkISize, SkBackingFit, skgpu::Budgeted, GrProtected, GrInternalSurfaceFlags, UseAllocator, std::string_view label)
std::function< LazyCallbackResult(GrResourceProvider *, const LazySurfaceDesc &)> LazyInstantiateCallback
GrInternalSurfaceFlags fSurfaceFlags
constexpr bool contains(std::string_view str, std::string_view needle)
void join(const SkIRect &r)
static constexpr SkIRect MakeSize(const SkISize &size)
static constexpr SkIRect MakeEmpty()