• Home
  • Raw
  • Download

Lines Matching refs:fOpInfo

43 InstanceProcessor::InstanceProcessor(OpInfo opInfo, GrBuffer* paramsBuffer) : fOpInfo(opInfo) {  in InstanceProcessor()
63 if (fOpInfo.fHasParams) { in InstanceProcessor()
69 if (GrAATypeIsHW(fOpInfo.aaType())) { in InstanceProcessor()
70 if (!fOpInfo.isSimpleRects() || GrAAType::kMixedSamples == fOpInfo.aaType()) { in InstanceProcessor()
175 : fOpInfo(opInfo) in Backend()
186 if (fOpInfo.fShapeTypes & kRRect_ShapesMask) { in Backend()
205 const OpInfo fOpInfo; member in gr_instanced::GLSLInstanceProcessor::Backend
431 uint8_t types = fOpInfo.fShapeTypes & kRRect_ShapesMask; in setupRRect()
533 SkASSERT(!(fOpInfo.fInnerShapeTypes & (kNinePatch_ShapeFlag | kComplexRRect_ShapeFlag))); in initInnerShape()
570 if (fOpInfo.fCannotDiscard && !fOpInfo.isSimpleRects()) { in BackendNonAA()
571 fModifiesColor = !fOpInfo.fCannotTweakAlphaForCoverage; in BackendNonAA()
594 if (kRect_ShapeFlag != fOpInfo.fShapeTypes) { in onInit()
616 if (kRect_ShapeFlag != fOpInfo.fInnerShapeTypes && in onInitInnerShape()
617 kOval_ShapeFlag != fOpInfo.fInnerShapeTypes) { in onInitInnerShape()
643 if (!fOpInfo.fCannotDiscard) { in onEmitCode()
657 if (fOpInfo.fInnerShapeTypes) { in onEmitCode()
660 if (kRect_ShapeFlag == fOpInfo.fInnerShapeTypes) { in onEmitCode()
663 } else if (kOval_ShapeFlag == fOpInfo.fInnerShapeTypes) { in onEmitCode()
704 fShapeIsCircle = !fOpInfo.fNonSquare && !(fOpInfo.fShapeTypes & kRRect_ShapesMask); in BackendCoverage()
705 fTweakAlphaForCoverage = !fOpInfo.fCannotTweakAlphaForCoverage && !fOpInfo.fInnerShapeTypes; in BackendCoverage()
756 if (kOval_ShapeFlag != fOpInfo.fShapeTypes) { in onInit()
760 if (kRect_ShapeFlag == fOpInfo.fShapeTypes) { in onInit()
768 if (kRect_ShapeFlag != fOpInfo.fShapeTypes) { in onInit()
873 if (kOval_ShapeFlag == fOpInfo.fInnerShapeTypes) { in onInitInnerShape()
882 if (kRect_ShapeFlag != fOpInfo.fInnerShapeTypes) { in onInitInnerShape()
937 if (fOpInfo.fInnerShapeTypes || (!fTweakAlphaForCoverage && fTriangleIsArc.fsIn())) { in onEmitCode()
948 bool ellipseCoordsMayBeNegative = SkToBool(fOpInfo.fShapeTypes & kOval_ShapeFlag); in onEmitCode()
961 if (fOpInfo.fInnerShapeTypes) { in onEmitCode()
964 if (kOval_ShapeFlag == fOpInfo.fInnerShapeTypes) { in onEmitCode()
973 if (kRect_ShapeFlag == fOpInfo.fInnerShapeTypes) { in onEmitCode()
1014 SkASSERT(!(kRRect_ShapesMask & fOpInfo.fShapeTypes)); in emitCircle()
1073 fRectTrianglesMaySplit = fOpInfo.fHasPerspective; in BackendMultisample()
1074 fNeedsNeighborRadii = this->isMixedSampled() && !fOpInfo.fHasPerspective; in BackendMultisample()
1078 bool isMixedSampled() const { return GrAAType::kMixedSamples == fOpInfo.aaType(); } in isMixedSampled()
1136 if (kRect_ShapeFlag != fOpInfo.fShapeTypes) { in onInit()
1139 if (!fOpInfo.fHasPerspective) { in onInit()
1145 } else if (!fOpInfo.fInnerShapeTypes) { in onInit()
1150 if (!fOpInfo.fHasPerspective) { in onInit()
1156 if (fOpInfo.fShapeTypes & kRRect_ShapesMask) { in onInit()
1159 if (!fOpInfo.fHasPerspective) { in onInit()
1165 } else if (fOpInfo.fShapeTypes & kOval_ShapeFlag) { in onInit()
1169 if (fOpInfo.fShapeTypes & kRect_ShapeFlag) { in onInit()
1174 if (kRect_ShapeFlag != fOpInfo.fShapeTypes) { in onInit()
1179 if (!fOpInfo.fHasPerspective) { in onInit()
1242 if (!fOpInfo.fHasPerspective) { in adjustRRectVertices()
1291 if (!fOpInfo.fHasPerspective) { in onSetupRRect()
1311 if (kOval_ShapeFlag != fOpInfo.fInnerShapeTypes && in onInitInnerShape()
1312 kRect_ShapeFlag != fOpInfo.fInnerShapeTypes) { in onInitInnerShape()
1315 if (!fOpInfo.fHasPerspective) { in onInitInnerShape()
1362 if (kRect_ShapeFlag != (fOpInfo.fShapeTypes | fOpInfo.fInnerShapeTypes)) { in onEmitCode()
1376 bool clampArcCoords = this->isMixedSampled() && (fOpInfo.fShapeTypes & kRRect_ShapesMask); in onEmitCode()
1383 if (fOpInfo.fHasPerspective && fOpInfo.fInnerShapeTypes) { in onEmitCode()
1400 if (arcTest && fOpInfo.fHasPerspective) { in onEmitCode()
1425 } else if (fOpInfo.fShapeTypes == kOval_ShapeFlag) { in onEmitCode()
1428 SkASSERT(fOpInfo.fShapeTypes == kRect_ShapeFlag); in onEmitCode()
1434 if (fOpInfo.fInnerShapeTypes) { in onEmitCode()
1439 if (!fOpInfo.fHasPerspective) { in onEmitCode()
1449 if (kOval_ShapeFlag == fOpInfo.fInnerShapeTypes) { in onEmitCode()
1453 !fOpInfo.fHasPerspective ? innerShapeCoords.fFragHalfSpan in onEmitCode()
1455 if (kRect_ShapeFlag == fOpInfo.fInnerShapeTypes) { in onEmitCode()
1617 if (!fOpInfo.fCannotDiscard) { in acceptOrRejectWholeFragment()
1628 if (!fOpInfo.fCannotDiscard) { in acceptOrRejectWholeFragment()
1653 if (!fOpInfo.fCannotDiscard) { in acceptCoverageMask()