/external/mesa3d/src/mesa/swrast/ |
D | s_aatritemp.h | 182 const GLfloat dxdy = majDx / majDy; variable 183 const GLfloat xAdj = dxdy < 0.0F ? -dxdy : 0.0F; 189 GLfloat x = pMin[0] - (yMin - iy) * dxdy; 251 const GLfloat dxdy = majDx / majDy; variable 252 const GLfloat xAdj = dxdy > 0 ? dxdy : 0.0F; 258 GLfloat x = pMin[0] - (yMin - iy) * dxdy;
|
D | s_tritemp.h | 124 GLfloat dxdy; /* dx/dy */ in NAME() member 259 eMaj.dxdy = eMaj.dx / eMaj.dy; in NAME() 260 eMaj.fdxdy = SignedFloatToFixed(eMaj.dxdy); in NAME() 263 eMaj.fsx = eMaj.fx0 + (GLfixed) (eMaj.adjy * eMaj.dxdy); in NAME() 272 eTop.dxdy = eTop.dx / eTop.dy; in NAME() 273 eTop.fdxdy = SignedFloatToFixed(eTop.dxdy); in NAME() 276 eTop.fsx = eTop.fx0 + (GLfixed) (eTop.adjy * eTop.dxdy); in NAME() 282 eBot.dxdy = eBot.dx / eBot.dy; in NAME() 283 eBot.fdxdy = SignedFloatToFixed(eBot.dxdy); in NAME() 286 eBot.fsx = eBot.fx0 + (GLfixed) (eBot.adjy * eBot.dxdy); in NAME()
|
D | s_aaline.c | 417 GLfloat dxdy = line->dx / line->dy; in segment() local 457 xLeft += dxdy; in segment() 458 xRight += dxdy; in segment()
|
/external/skia/samplecode/ |
D | SamplePathClip.cpp | 89 double dxdy = (double)(p1.fX - p0.fX) / (p1.fY - p0.fY); local 91 p0.fX = SkDoubleToScalar(p0.fX + dxdy * (bounds.top() - p0.fY)); 95 p1.fX = SkDoubleToScalar(p1.fX + dxdy * (bounds.bottom() - p1.fY)); 120 float y = SkDoubleToScalar(p0.fY + (bounds.left() - p0.fX) / dxdy); 126 float y = SkDoubleToScalar(p0.fY + (bounds.right() - p0.fX) / dxdy);
|
/external/skqp/samplecode/ |
D | SamplePathClip.cpp | 89 double dxdy = (double)(p1.fX - p0.fX) / (p1.fY - p0.fY); local 91 p0.fX = SkDoubleToScalar(p0.fX + dxdy * (bounds.top() - p0.fY)); 95 p1.fX = SkDoubleToScalar(p1.fX + dxdy * (bounds.bottom() - p1.fY)); 120 float y = SkDoubleToScalar(p0.fY + (bounds.left() - p0.fX) / dxdy); 126 float y = SkDoubleToScalar(p0.fY + (bounds.right() - p0.fX) / dxdy);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_line.c | 453 const float dxdy = dx / dy; in try_setup_line() local 479 float xintersect = fracf(v1[0][0]) + y1diff * dxdy; in try_setup_line() 497 float xintersect = fracf(v2[0][0]) + y2diff * dxdy; in try_setup_line() 517 x_offset_end = y_offset_end * dxdy; in try_setup_line() 521 x_offset = y_offset * dxdy; in try_setup_line() 528 x_offset = y_offset * dxdy; in try_setup_line() 533 x_offset_end = y_offset_end * dxdy; in try_setup_line()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 56 float dxdy; /**< dx/dy */ member 690 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f; in setup_tri_edges() 691 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy; in setup_tri_edges() 695 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f; in setup_tri_edges() 696 setup->etop.sx = vmid_x + (setup->etop.sy - vmid_y) * setup->etop.dxdy; in setup_tri_edges() 700 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f; in setup_tri_edges() 701 setup->ebot.sx = vmin_x + (setup->ebot.sy - vmin_y) * setup->ebot.dxdy; in setup_tri_edges() 751 int left = (int)(eleft->sx + y * eleft->dxdy); in subtriangle() 752 int right = (int)(eright->sx + y * eright->dxdy); in subtriangle() 775 eleft->sx += lines * eleft->dxdy; in subtriangle() [all …]
|
/external/skia/src/core/ |
D | SkPathRef.cpp | 699 SkVector dxdy; in getRRect() local 702 dxdy.set(SkScalarAbs(v1_0.fX), SkScalarAbs(v2_1.fY)); in getRRect() 705 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v2_1.fY)); in getRRect() 708 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v1_0.fY)); in getRRect() 717 radii[corner] = dxdy; in getRRect()
|
/external/skqp/src/core/ |
D | SkPathRef.cpp | 679 SkVector dxdy; in getRRect() local 682 dxdy.set(SkScalarAbs(v1_0.fX), SkScalarAbs(v2_1.fY)); in getRRect() 685 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v2_1.fY)); in getRRect() 688 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v1_0.fY)); in getRRect() 697 radii[corner] = dxdy; in getRRect()
|
/external/skqp/src/pathops/ |
D | SkOpSegment.cpp | 812 SkDVector dxdy = (*CurveDSlopeAtT[this->verb()])(this->pts(), this->weight(), t); in isClose() local 813 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in isClose() 1619 SkDVector dxdy = (*CurveDDSlopeAtT[fVerb])(curvePart, 0.5f); in testForCoincidence() local 1621 SkDLine ray = {{{midPt.fX, midPt.fY}, {partMidPt.fX + dxdy.fY, partMidPt.fY - dxdy.fX}}}; in testForCoincidence()
|
D | SkOpCoincidence.cpp | 299 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in addEndMovedSpans() local 301 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in addEndMovedSpans()
|
D | SkPathOpsTSect.h | 358 SkDVector dxdy = c1.dxdyAtT(t); in setPerp() local 359 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in setPerp() 1594 SkDVector dxdy = this->fCurve.dxdyAtT(t); in matchedDirection() local 1596 return dxdy.dot(dxdy2) >= 0; in matchedDirection()
|
D | SkPathOpsDebug.cpp | 1503 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in debugAddEndMovedSpans() local 1505 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in debugAddEndMovedSpans()
|
/external/skia/src/pathops/ |
D | SkOpSegment.cpp | 812 SkDVector dxdy = (*CurveDSlopeAtT[this->verb()])(this->pts(), this->weight(), t); in isClose() local 813 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in isClose() 1619 SkDVector dxdy = (*CurveDDSlopeAtT[fVerb])(curvePart, 0.5f); in testForCoincidence() local 1621 SkDLine ray = {{{midPt.fX, midPt.fY}, {partMidPt.fX + dxdy.fY, partMidPt.fY - dxdy.fX}}}; in testForCoincidence()
|
D | SkOpCoincidence.cpp | 299 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in addEndMovedSpans() local 301 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in addEndMovedSpans()
|
D | SkPathOpsTSect.h | 358 SkDVector dxdy = c1.dxdyAtT(t); in setPerp() local 359 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in setPerp() 1594 SkDVector dxdy = this->fCurve.dxdyAtT(t); in matchedDirection() local 1596 return dxdy.dot(dxdy2) >= 0; in matchedDirection()
|
D | SkPathOpsDebug.cpp | 1503 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in debugAddEndMovedSpans() local 1505 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in debugAddEndMovedSpans()
|