8#ifndef GrProgramInfo_DEFINED
9#define GrProgramInfo_DEFINED
45 return fTargetHasVkResolveAttachmentWithInput;
55 return (uint16_t) fPrimitiveType;
67 void validate(
bool flushTime)
const;
68 void checkAllInstantiated()
const;
69 void checkMSAAAndMIPSAreResolved()
const;
77 bool fTargetHasVkResolveAttachmentWithInput;
78 int fTargetsNumSamples;
std::function< void(GrSurfaceProxy *, skgpu::Mipmapped)> GrVisitProxyFunc
bool hasStencilClip() const
void visitProxies(const GrVisitProxyFunc &) const
uint16_t primitiveTypeKey() const
int targetsNumSamples() const
GrSurfaceOrigin origin() const
GrPrimitiveType primitiveType() const
const GrPipeline & pipeline() const
const GrGeometryProcessor & geomProc() const
const GrUserStencilSettings * userStencilSettings() const
bool targetHasVkResolveAttachmentWithInput() const
void visitFPProxies(const GrVisitProxyFunc &func) const
GrProgramInfo(const GrCaps &caps, const GrSurfaceProxyView &targetView, bool usesMSAASurface, const GrPipeline *pipeline, const GrUserStencilSettings *userStencilSettings, const GrGeometryProcessor *geomProc, GrPrimitiveType primitiveType, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp)
bool isStencilEnabled() const
GrLoadOp colorLoadOp() const
const GrBackendFormat & backendFormat() const
GrStencilSettings nonGLStencilSettings() const
GrXferBarrierFlags renderPassBarriers() const
static const GrUserStencilSettings & kUnused