Lines Matching refs:Op
32 * This can be used by a Op class to perform allocation and initialization such that a
34 * the Op instance. It requires that Op implements a constructor of the form:
35 * Op(MakeArgs, GrColor, OpArgs...)
38 template <typename Op, typename... OpArgs>
56 // noneAACompatibleWithCoverage should be set to true if the op can properly render a non-AA
57 // primitive merged into a coverage-based op.
65 * @param geometryCoverage Describes the coverage output of the op's geometry processor
67 * color the op expects to output from its geometry processor. As output
68 * this may be set to a known color in which case the op must output this
81 * output. The op passes this color as 'geometryColor' and after return if 'geometryColor' has
82 * changed the op must override its geometry processor color output with the new color.
155 template <typename Op, typename... OpArgs>
158 return GrSimpleMeshDrawOpHelper::FactoryHelper<Op, OpArgs...>(
200 template <typename Op, typename... OpArgs>
210 return pool->allocate<Op>(makeArgs, paint.getColor4f(), std::forward<OpArgs>(opArgs)...);
212 char* mem = (char*) pool->allocate(sizeof(Op) + sizeof(GrProcessorSet));
213 char* setMem = mem + sizeof(Op);
216 return std::unique_ptr<GrDrawOp>(new (mem) Op(makeArgs, color,