Home
last modified time | relevance | path

Searched refs:fP1 (Results 1 – 15 of 15) sorted by relevance

/external/skqp/src/core/
DSkScan_DAAPath.cpp148 return a->fP0.fX + a->fP1.fX < b->fP0.fX + b->fP1.fX; in operator ()()
155 return a->fP0.fY + a->fP1.fY < b->fP0.fY + b->fP1.fY; in operator ()()
184 bool lDX0 = lb->fP0.fX == lb->fP1.fX && lb->fCount == 2; in gen_alpha_deltas()
185 bool rDX0 = rb->fP0.fX == rb->fP1.fX && rb->fCount == 2; in gen_alpha_deltas()
191 if (!l.setLine(lb->fP0, lb->fP1) || !r.setLine(rb->fP0, rb->fP1)) { in gen_alpha_deltas()
242 edgeSet = currE->setLine(bezier->fP0, bezier->fP1); in gen_alpha_deltas()
248 SkPoint pts[3] = {quad->fP0, quad->fP1, quad->fP2}; in gen_alpha_deltas()
256 SkPoint pts[4] = {cubic->fP0, cubic->fP1, cubic->fP2, cubic->fP3}; in gen_alpha_deltas()
DSkAnalyticEdge.h142 SkPoint fP1; member
163 fP1 = pts[1]; in set()
177 fP1 = pts[1]; in set()
197 fP1 = pts[1]; in set()
DSkRasterPipeline.h162 fP1; member
/external/skia/src/gpu/geometry/
DGrShape.cpp210 fLine.fP1 = p1; in simplifyLine()
214 SkASSERT(fLine.fP1 == p1 && fLine.fP2 == p2); in simplifyLine()
218 if (fLine.fP2.fY < fLine.fP1.fY || in simplifyLine()
219 (fLine.fP2.fY == fLine.fP1.fY && fLine.fP2.fX < fLine.fP1.fX)) { in simplifyLine()
221 swap(fLine.fP1, fLine.fP2); in simplifyLine()
255 this->simplifyLine(fLine.fP1, fLine.fP2, flags); in simplify()
380 SkRect b = SkRect::MakeLTRB(fLine.fP1.fX, fLine.fP1.fY, in bounds()
458 out->moveTo(fLine.fP1); in asPath()
DGrStyledShape.cpp513 pts[0] = fShape.line().fP1; in asLine()
766 if (fShape.line().fP1.fY == fShape.line().fP2.fY) { in simplifyStroke()
767 rect.fLeft = std::min(fShape.line().fP1.fX, fShape.line().fP2.fX); in simplifyStroke()
768 rect.fRight = std::max(fShape.line().fP1.fX, fShape.line().fP2.fX); in simplifyStroke()
769 rect.fTop = rect.fBottom = fShape.line().fP1.fY; in simplifyStroke()
772 } else if (fShape.line().fP1.fX == fShape.line().fP2.fX) { in simplifyStroke()
773 rect.fTop = std::min(fShape.line().fP1.fY, fShape.line().fP2.fY); in simplifyStroke()
774 rect.fBottom = std::max(fShape.line().fP1.fY, fShape.line().fP2.fY); in simplifyStroke()
775 rect.fLeft = rect.fRight = fShape.line().fP1.fX; in simplifyStroke()
DGrShape.h26 SkPoint fP1; member
/external/skia/tests/
DTriangulatingPathRendererTests.cpp795 Edge reverse() const { return {fP1, fP0}; } in reverse()
796 SkPoint fP0, fP1; member
806 if (a.fP1.fX != b.fP1.fX) { in operator <()
807 return a.fP1.fX < b.fP1.fX; in operator <()
809 if (a.fP1.fY != b.fP1.fY) { in operator <()
810 return a.fP1.fY < b.fP1.fY; in operator <()
938 shapeName, edge.fP0.fX, edge.fP0.fY, edge.fP1.fX, edge.fP1.fY); in verify_simple_inner_polygons()
951 if (edge.fP0.fX == edge.fP1.fX && !hasSpuriousVert) { in verify_simple_inner_polygons()
955 if (edge.fP0.fY == edge.fP1.fY && !hasSpuriousHorz) { in verify_simple_inner_polygons()
961 shapeName, edge.fP0.fX, edge.fP0.fY, edge.fP1.fX, edge.fP1.fY); in verify_simple_inner_polygons()
DResourceAllocatorTest.cpp207 ProxyParams fP1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() member
232 sk_sp<GrSurfaceProxy> p1 = make_proxy(dContext, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
301 sk_sp<GrSurfaceProxy> p1 = make_proxy(dContext, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/core/
DSkAnalyticEdge.h142 SkPoint fP1; member
163 fP1 = pts[1]; in set()
177 fP1 = pts[1]; in set()
197 fP1 = pts[1]; in set()
DSkRasterPipeline.h182 fP1; member
/external/skqp/tests/
DResourceAllocatorTest.cpp148 ProxyParams fP1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() member
181 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
223 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
243 GrSurfaceProxy* p1 = make_backend(ctxInfo.grContext(), t[0].fP1, &backEndTex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp215 ctx->fP1 = fFocalData.fFocalX; in appendGradientStages()
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp183 ctx->fP1 = fFocalData.fFocalX; in appendGradientStages()
/external/skqp/src/opts/
DSkRasterPipeline_opts.h2042 t = t + ctx->fP1; // ctx->fP1 = f in STAGE()
/external/skia/src/opts/
DSkRasterPipeline_opts.h2522 t = t + ctx->fP1; // ctx->fP1 = f in STAGE()