Searched refs:dxdy (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_aatritemp.h182 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;
252 const GLfloat xAdj = dxdy > 0 ? dxdy : 0.0F;
258 GLfloat x = pMin[0] - (yMin - iy) * dxdy;
H A Ds_tritemp.h119 GLfloat dxdy; /* dx/dy */ member in struct:__anon14581
254 eMaj.dxdy = eMaj.dx / eMaj.dy;
255 eMaj.fdxdy = SignedFloatToFixed(eMaj.dxdy);
258 eMaj.fsx = eMaj.fx0 + (GLfixed) (eMaj.adjy * eMaj.dxdy);
267 eTop.dxdy = eTop.dx / eTop.dy;
268 eTop.fdxdy = SignedFloatToFixed(eTop.dxdy);
271 eTop.fsx = eTop.fx0 + (GLfixed) (eTop.adjy * eTop.dxdy);
277 eBot.dxdy = eBot.dx / eBot.dy;
278 eBot.fdxdy = SignedFloatToFixed(eBot.dxdy);
281 eBot.fsx = eBot.fx0 + (GLfixed) (eBot.adjy * eBot.dxdy);
[all...]
H A Ds_aaline.c415 GLfloat dxdy = line->dx / line->dy; local
455 xLeft += dxdy;
456 xRight += dxdy;
/external/mesa3d/src/mesa/swrast/
H A Ds_aatritemp.h182 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;
252 const GLfloat xAdj = dxdy > 0 ? dxdy : 0.0F;
258 GLfloat x = pMin[0] - (yMin - iy) * dxdy;
H A Ds_tritemp.h119 GLfloat dxdy; /* dx/dy */ member in struct:__anon27992
254 eMaj.dxdy = eMaj.dx / eMaj.dy;
255 eMaj.fdxdy = SignedFloatToFixed(eMaj.dxdy);
258 eMaj.fsx = eMaj.fx0 + (GLfixed) (eMaj.adjy * eMaj.dxdy);
267 eTop.dxdy = eTop.dx / eTop.dy;
268 eTop.fdxdy = SignedFloatToFixed(eTop.dxdy);
271 eTop.fsx = eTop.fx0 + (GLfixed) (eTop.adjy * eTop.dxdy);
277 eBot.dxdy = eBot.dx / eBot.dy;
278 eBot.fdxdy = SignedFloatToFixed(eBot.dxdy);
281 eBot.fsx = eBot.fx0 + (GLfixed) (eBot.adjy * eBot.dxdy);
[all...]
H A Ds_aaline.c415 GLfloat dxdy = line->dx / line->dy; local
455 xLeft += dxdy;
456 xRight += dxdy;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c438 const float dxdy = dx / dy; local
464 float xintersect = fracf(v1[0][0]) + y1diff * dxdy;
482 float xintersect = fracf(v2[0][0]) + y2diff * dxdy;
502 x_offset_end = y_offset_end * dxdy;
506 x_offset = y_offset * dxdy;
513 x_offset = y_offset * dxdy;
518 x_offset_end = y_offset_end * dxdy;
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c438 const float dxdy = dx / dy; local
464 float xintersect = fracf(v1[0][0]) + y1diff * dxdy;
482 float xintersect = fracf(v2[0][0]) + y2diff * dxdy;
502 x_offset_end = y_offset_end * dxdy;
506 x_offset = y_offset * dxdy;
513 x_offset = y_offset * dxdy;
518 x_offset_end = y_offset_end * dxdy;
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DQuadraticImplicit.cpp133 _Vector dxdy = dxdy_at_t(q2, tMid); local
134 line[0] -= dxdy;
135 line[1] += dxdy;
303 _Point dxdy;
304 dxdy_at_t(*qs[qIdx], t, dxdy);
307 perp[0].x += dxdy.y;
308 perp[0].y -= dxdy.x;
309 perp[1].x -= dxdy.y;
310 perp[1].y += dxdy.x;
318 double dot = dxdy
[all...]
H A DSimplify.cpp2373 SkVector dxdy(int index) const {
/external/skia/experimental/Intersection/
H A DQuadraticImplicit.cpp133 _Vector dxdy = dxdy_at_t(q2, tMid); local
134 line[0] -= dxdy;
135 line[1] += dxdy;
303 _Point dxdy;
304 dxdy_at_t(*qs[qIdx], t, dxdy);
307 perp[0].x += dxdy.y;
308 perp[0].y -= dxdy.x;
309 perp[1].x -= dxdy.y;
310 perp[1].y += dxdy.x;
318 double dot = dxdy
[all...]
H A DSimplify.cpp2373 SkVector dxdy(int index) const {
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_setup.c57 float dxdy; /**< dx/dy */ member in struct:edge
687 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f;
688 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy;
692 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f;
693 setup->etop.sx = vmid_x + (setup->etop.sy - vmid_y) * setup->etop.dxdy;
697 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f;
698 setup->ebot.sx = vmin_x + (setup->ebot.sy - vmin_y) * setup->ebot.dxdy;
747 int left = (int)(eleft->sx + y * eleft->dxdy);
748 int right = (int)(eright->sx + y * eright->dxdy);
771 eleft->sx += lines * eleft->dxdy;
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_setup.c57 float dxdy; /**< dx/dy */ member in struct:edge
687 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f;
688 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy;
692 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f;
693 setup->etop.sx = vmid_x + (setup->etop.sy - vmid_y) * setup->etop.dxdy;
697 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f;
698 setup->ebot.sx = vmin_x + (setup->ebot.sy - vmin_y) * setup->ebot.dxdy;
747 int left = (int)(eleft->sx + y * eleft->dxdy);
748 int right = (int)(eright->sx + y * eright->dxdy);
771 eleft->sx += lines * eleft->dxdy;
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkDQuadIntersection.cpp125 SkDVector dxdy = q2.dxdyAtT(tMid); local
126 line[0] -= dxdy;
127 line[1] += dxdy;
H A DSkOpSegment.h81 SkVector dxdy(int index) const { function in class:SkOpSegment
86 return dxdy(index).fY;
H A DSkOpSegment.cpp2696 SkVector dxdy;
2699 dxdy = match->dxdy(startIndex);
2702 dxdy = match->dxdy(endIndex);
2704 ray.fPts[1].fX = ray.fPts[0].fX + dxdy.fY;
2705 ray.fPts[1].fY = ray.fPts[0].fY - dxdy.fX;
/external/skia/src/pathops/
H A DSkDQuadIntersection.cpp125 SkDVector dxdy = q2.dxdyAtT(tMid); local
126 line[0] -= dxdy;
127 line[1] += dxdy;
H A DSkOpSegment.h81 SkVector dxdy(int index) const { function in class:SkOpSegment
86 return dxdy(index).fY;
H A DSkOpSegment.cpp2619 SkVector dxdy;
2622 dxdy = match->dxdy(startIndex);
2625 dxdy = match->dxdy(endIndex);
2627 ray.fPts[1].fX = ray.fPts[0].fX + dxdy.fY;
2628 ray.fPts[1].fY = ray.fPts[0].fY - dxdy.fX;

Completed in 2551 milliseconds