Lines Matching refs:cpe
41 const GrConvexPolyEffect& cpe = args.fFp.cast<GrConvexPolyEffect>(); in emitCode() local
47 cpe.getEdgeCount(), in emitCode()
52 for (int i = 0; i < cpe.getEdgeCount(); ++i) { in emitCode()
56 if (GrProcessorEdgeTypeIsAA(cpe.getEdgeType())) { in emitCode()
64 if (GrProcessorEdgeTypeIsInverseFill(cpe.getEdgeType())) { in emitCode()
72 const GrConvexPolyEffect& cpe = effect.cast<GrConvexPolyEffect>(); in onSetData() local
73 size_t byteSize = 3 * cpe.getEdgeCount() * sizeof(SkScalar); in onSetData()
74 if (0 != memcmp(fPrevEdges, cpe.getEdges(), byteSize)) { in onSetData()
75 pdman.set3fv(fEdgeUniform, cpe.getEdgeCount(), cpe.getEdges()); in onSetData()
76 memcpy(fPrevEdges, cpe.getEdges(), byteSize); in onSetData()
82 const GrConvexPolyEffect& cpe = processor.cast<GrConvexPolyEffect>(); in GenKey() local
84 uint32_t key = (cpe.getEdgeCount() << 3) | (int) cpe.getEdgeType(); in GenKey()
206 const GrConvexPolyEffect& cpe = other.cast<GrConvexPolyEffect>(); in onIsEqual() local
208 return (cpe.fEdgeType == fEdgeType && cpe.fEdgeCount == fEdgeCount && in onIsEqual()
209 0 == memcmp(cpe.fEdges, fEdges, 3 * fEdgeCount * sizeof(SkScalar))); in onIsEqual()