8#ifndef GrMockRenderTask_DEFINED
9#define GrMockRenderTask_DEFINED
39 void visitProxies_debugOnly(
const GrVisitProxyFunc&)
const override {
return; }
44 for (
const auto& entry : fUsed) {
45 if (entry.get() == proxy) {
53#if defined(GR_TEST_UTILS)
54 const char*
name() const final {
return "Mock"; }
std::function< void(GrSurfaceProxy *, skgpu::Mipmapped)> GrVisitProxyFunc
bool onExecute(GrOpFlushState *) override
void gatherProxyIntervals(GrResourceAllocator *) const override
bool onIsUsed(GrSurfaceProxy *proxy) const override
void addUsed(sk_sp< GrSurfaceProxy > proxy)
void addDependency(GrRenderTask *dep)
void addTarget(sk_sp< GrSurfaceProxy > proxy)
ExpectedOutcome onMakeClosed(GrRecordingContext *, SkIRect *) override
void setFlag(uint32_t flag)
skia_private::STArray< 1, sk_sp< GrSurfaceProxy > > fTargets
@ kDisowned_Flag
This task is disowned by its GrDrawingManager.
DEF_SWITCHES_START aot vmservice shared library name