/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 | 93 double dxdy = (double)(p1.fX - p0.fX) / (p1.fY - p0.fY); local 95 p0.fX = SkDoubleToScalar(p0.fX + dxdy * (bounds.top() - p0.fY)); 99 p1.fX = SkDoubleToScalar(p1.fX + dxdy * (bounds.bottom() - p1.fY)); 125 float y = SkDoubleToScalar(p0.fY + (bounds.left() - p0.fX) / dxdy); 131 float y = SkDoubleToScalar(p0.fY + (bounds.right() - p0.fX) / dxdy);
|
/external/skqp/samplecode/ |
D | SamplePathClip.cpp | 93 double dxdy = (double)(p1.fX - p0.fX) / (p1.fY - p0.fY); local 95 p0.fX = SkDoubleToScalar(p0.fX + dxdy * (bounds.top() - p0.fY)); 99 p1.fX = SkDoubleToScalar(p1.fX + dxdy * (bounds.bottom() - p1.fY)); 125 float y = SkDoubleToScalar(p0.fY + (bounds.left() - p0.fX) / dxdy); 131 float y = SkDoubleToScalar(p0.fY + (bounds.right() - p0.fX) / dxdy);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_line.c | 455 const float dxdy = dx / dy; in try_setup_line() local 481 float xintersect = fracf(v1[0][0]) + y1diff * dxdy; in try_setup_line() 499 float xintersect = fracf(v2[0][0]) + y2diff * dxdy; in try_setup_line() 519 x_offset_end = y_offset_end * dxdy; in try_setup_line() 523 x_offset = y_offset * dxdy; in try_setup_line() 530 x_offset = y_offset * dxdy; in try_setup_line() 535 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/skqp/src/core/ |
D | SkPathRef.cpp | 750 SkVector dxdy; in getRRect() local 753 dxdy.set(SkScalarAbs(v1_0.fX), SkScalarAbs(v2_1.fY)); in getRRect() 756 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v2_1.fY)); in getRRect() 759 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v1_0.fY)); in getRRect() 768 radii[corner] = dxdy; in getRRect()
|
/external/skia/src/core/ |
D | SkPathRef.cpp | 755 SkVector dxdy; in getRRect() local 758 dxdy.set(SkScalarAbs(v1_0.fX), SkScalarAbs(v2_1.fY)); in getRRect() 761 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v2_1.fY)); in getRRect() 764 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v1_0.fY)); in getRRect() 773 radii[corner] = dxdy; in getRRect()
|
/external/skia/src/pathops/ |
D | SkOpSegment.cpp | 835 SkDVector dxdy = (*CurveDSlopeAtT[this->verb()])(this->pts(), this->weight(), t); in isClose() local 836 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in isClose() 1681 SkDVector dxdy = (*CurveDDSlopeAtT[fVerb])(curvePart, 0.5f); in testForCoincidence() local 1683 SkDLine ray = {{{midPt.fX, midPt.fY}, {partMidPt.fX + dxdy.fY, partMidPt.fY - dxdy.fX}}}; in testForCoincidence()
|
D | SkPathOpsTSect.cpp | 14 SkDVector dxdy = c1.dxdyAtT(t); in setPerp() local 15 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in setPerp() 1239 SkDVector dxdy = this->fCurve.dxdyAtT(t); in matchedDirection() local 1241 return dxdy.dot(dxdy2) >= 0; in matchedDirection()
|
D | SkOpCoincidence.cpp | 304 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in addEndMovedSpans() local 306 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in addEndMovedSpans()
|
D | SkPathOpsDebug.cpp | 1505 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in debugAddEndMovedSpans() local 1507 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in debugAddEndMovedSpans()
|
/external/skqp/src/pathops/ |
D | SkOpSegment.cpp | 835 SkDVector dxdy = (*CurveDSlopeAtT[this->verb()])(this->pts(), this->weight(), t); in isClose() local 836 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in isClose() 1681 SkDVector dxdy = (*CurveDDSlopeAtT[fVerb])(curvePart, 0.5f); in testForCoincidence() local 1683 SkDLine ray = {{{midPt.fX, midPt.fY}, {partMidPt.fX + dxdy.fY, partMidPt.fY - dxdy.fX}}}; in testForCoincidence()
|
D | SkPathOpsTSect.cpp | 14 SkDVector dxdy = c1.dxdyAtT(t); in setPerp() local 15 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in setPerp() 1239 SkDVector dxdy = this->fCurve.dxdyAtT(t); in matchedDirection() local 1241 return dxdy.dot(dxdy2) >= 0; in matchedDirection()
|
D | SkOpCoincidence.cpp | 304 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in addEndMovedSpans() local 306 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in addEndMovedSpans()
|
D | SkPathOpsDebug.cpp | 1505 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in debugAddEndMovedSpans() local 1507 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in debugAddEndMovedSpans()
|
/external/u-boot/drivers/video/ |
D | stb_truetype.h | 1679 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); in stbtt__new_active() local 1683 if (dxdy < 0) in stbtt__new_active() 1684 z->dx = -STBTT_ifloor(STBTT_FIX * -dxdy); in stbtt__new_active() 1686 z->dx = STBTT_ifloor(STBTT_FIX * dxdy); in stbtt__new_active() 1700 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); in stbtt__new_active() local 1703 z->fdx = dxdy; in stbtt__new_active() 1704 z->fdy = dxdy != 0.0f ? (1.0f/dxdy) : 0.0f; in stbtt__new_active() 1705 z->fx = e->x0 + dxdy * (start_point - e->y0); in stbtt__new_active()
|