|
| GR_DECL_BITFIELD_CLASS_OPS_FRIENDS (InputFlags) |
|
| GrSimpleMeshDrawOpHelper (GrProcessorSet *, GrAAType, InputFlags=InputFlags::kNone) |
|
| ~GrSimpleMeshDrawOpHelper () |
|
| GrSimpleMeshDrawOpHelper ()=delete |
|
| GrSimpleMeshDrawOpHelper (const GrSimpleMeshDrawOpHelper &)=delete |
|
GrSimpleMeshDrawOpHelper & | operator= (const GrSimpleMeshDrawOpHelper &)=delete |
|
GrDrawOp::FixedFunctionFlags | fixedFunctionFlags () const |
|
bool | isCompatible (const GrSimpleMeshDrawOpHelper &that, const GrCaps &, const SkRect &thisBounds, const SkRect &thatBounds, bool ignoreAAType=false) const |
|
GrProcessorSet::Analysis | finalizeProcessors (const GrCaps &caps, const GrAppliedClip *clip, GrClampType clampType, GrProcessorAnalysisCoverage geometryCoverage, GrProcessorAnalysisColor *geometryColor) |
|
GrProcessorSet::Analysis | finalizeProcessors (const GrCaps &, const GrAppliedClip *, GrClampType, GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f *geometryColor, bool *wideColor) |
|
bool | isTrivial () const |
|
bool | usesLocalCoords () const |
|
bool | compatibleWithCoverageAsAlpha () const |
|
void | visitProxies (const GrVisitProxyFunc &func) const |
|
GrAAType | aaType () const |
|
void | setAAType (GrAAType aaType) |
|
const GrPipeline * | createPipeline (GrOpFlushState *flushState) |
|
const GrPipeline * | createPipeline (const GrCaps *, SkArenaAlloc *, skgpu::Swizzle writeViewSwizzle, GrAppliedClip &&, const GrDstProxyView &) |
|
GrProgramInfo * | createProgramInfo (const GrCaps *, SkArenaAlloc *, const GrSurfaceProxyView &writeView, bool usesMSAASurface, GrAppliedClip &&, const GrDstProxyView &, GrGeometryProcessor *, GrPrimitiveType, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp) |
|
GrProcessorSet | detachProcessorSet () |
|
GrPipeline::InputFlags | pipelineFlags () const |
|
template<typename Op , typename... OpArgs> |
GrOp::Owner | FactoryHelper (GrRecordingContext *context, GrPaint &&paint, OpArgs &&... opArgs) |
|
|
template<typename Op , typename... OpArgs> |
static GrOp::Owner | FactoryHelper (GrRecordingContext *, GrPaint &&, OpArgs &&...) |
|
static const GrPipeline * | CreatePipeline (const GrCaps *, SkArenaAlloc *, skgpu::Swizzle writeViewSwizzle, GrAppliedClip &&, const GrDstProxyView &, GrProcessorSet &&, GrPipeline::InputFlags pipelineFlags) |
|
static const GrPipeline * | CreatePipeline (GrOpFlushState *, GrProcessorSet &&, GrPipeline::InputFlags pipelineFlags) |
|
static GrProgramInfo * | CreateProgramInfo (const GrCaps *, SkArenaAlloc *, const GrPipeline *, const GrSurfaceProxyView &writeView, bool usesMSAASurface, GrGeometryProcessor *, GrPrimitiveType, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp, const GrUserStencilSettings *=&GrUserStencilSettings::kUnused) |
|
static GrProgramInfo * | CreateProgramInfo (const GrCaps *, SkArenaAlloc *, const GrSurfaceProxyView &writeView, bool usesMSAASurface, GrAppliedClip &&, const GrDstProxyView &, GrGeometryProcessor *, GrProcessorSet &&, GrPrimitiveType, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp, GrPipeline::InputFlags pipelineFlags=GrPipeline::InputFlags::kNone, const GrUserStencilSettings *=&GrUserStencilSettings::kUnused) |
|
This class can be used to help implement simple mesh draw ops. It reduces the amount of boilerplate code to type and also provides a mechanism for optionally allocating space for a GrProcessorSet based on a GrPaint. It is intended to be used by ops that construct a single GrPipeline for a uniform primitive color and a GrPaint.
Definition at line 28 of file GrSimpleMeshDrawOpHelper.h.