Lines Matching defs:cpe
41 const GrConvexPolyEffect& cpe = args.fFp.cast<GrConvexPolyEffect>();
47 cpe.getEdgeCount(),
52 for (int i = 0; i < cpe.getEdgeCount(); ++i) {
57 if (GrProcessorEdgeTypeIsAA(cpe.getEdgeType())) {
65 if (GrProcessorEdgeTypeIsInverseFill(cpe.getEdgeType())) {
73 const GrConvexPolyEffect& cpe = effect.cast<GrConvexPolyEffect>();
74 size_t byteSize = 3 * cpe.getEdgeCount() * sizeof(SkScalar);
75 if (0 != memcmp(fPrevEdges, cpe.getEdges(), byteSize)) {
76 pdman.set3fv(fEdgeUniform, cpe.getEdgeCount(), cpe.getEdges());
77 memcpy(fPrevEdges, cpe.getEdges(), byteSize);
83 const GrConvexPolyEffect& cpe = processor.cast<GrConvexPolyEffect>();
85 uint32_t key = (cpe.getEdgeCount() << 3) | (int) cpe.getEdgeType();
207 const GrConvexPolyEffect& cpe = other.cast<GrConvexPolyEffect>();
209 return (cpe.fEdgeType == fEdgeType && cpe.fEdgeCount == fEdgeCount &&
210 0 == memcmp(cpe.fEdges, fEdges, 3 * fEdgeCount * sizeof(SkScalar)));