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()
57 if (GrProcessorEdgeTypeIsAA(cpe.getEdgeType())) { in emitCode()
65 if (GrProcessorEdgeTypeIsInverseFill(cpe.getEdgeType())) { in emitCode()
73 const GrConvexPolyEffect& cpe = effect.cast<GrConvexPolyEffect>(); in onSetData() local
74 size_t byteSize = 3 * cpe.getEdgeCount() * sizeof(SkScalar); in onSetData()
75 if (0 != memcmp(fPrevEdges, cpe.getEdges(), byteSize)) { in onSetData()
76 pdman.set3fv(fEdgeUniform, cpe.getEdgeCount(), cpe.getEdges()); in onSetData()
77 memcpy(fPrevEdges, cpe.getEdges(), byteSize); in onSetData()
83 const GrConvexPolyEffect& cpe = processor.cast<GrConvexPolyEffect>(); in GenKey() local
85 uint32_t key = (cpe.getEdgeCount() << 3) | (int) cpe.getEdgeType(); in GenKey()
207 const GrConvexPolyEffect& cpe = other.cast<GrConvexPolyEffect>(); in onIsEqual() local
209 return (cpe.fEdgeType == fEdgeType && cpe.fEdgeCount == fEdgeCount && in onIsEqual()
210 0 == memcmp(cpe.fEdges, fEdges, 3 * fEdgeCount * sizeof(SkScalar))); in onIsEqual()