Home | History | Annotate | Download | only in softpipe

Lines Matching defs:dy

56    float dy;		/**< Y(v1) - Y(v0), used only during setup */
57 float dxdy; /**< dx/dy */
346 setup->ebot.dy = setup->vmid[0][1] - setup->vmin[0][1];
348 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1];
350 setup->etop.dy = setup->vmax[0][1] - setup->vmid[0][1];
363 const float area = (setup->emaj.dx * setup->ebot.dy -
364 setup->ebot.dx * setup->emaj.dy);
489 float a = setup->ebot.dy * majda - botda * setup->emaj.dy;
516 debug_printf("attr[%d].%c: %f dx:%f dy:%f\n",
547 float a = setup->ebot.dy * majda - botda * setup->emaj.dy;
687 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f;
692 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f;
697 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f;
907 const float dady = da * setup->emaj.dy * setup->oneoverarea;
931 const float dady = da * setup->emaj.dy * setup->oneoverarea;
965 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1];
968 area = setup->emaj.dx * setup->emaj.dx + setup->emaj.dy * setup->emaj.dy;
1074 int dy = y1 - y0;
1086 if (dx == 0 && dy == 0)
1105 if (dy < 0) {
1106 dy = -dy; /* make positive */
1114 assert(dy >= 0);
1128 if (dx > dy) {
1131 const int errorInc = dy + dy;
1152 int error = errorInc - dy;
1153 const int errorDec = error - dy;
1155 dy; i++) {
1300 float dx, dy, dist2, cover;
1305 dy = (iy + 0.5f) - y;
1306 dist2 = dx * dx + dy * dy;
1314 dy = (iy + 0.5f) - y;
1315 dist2 = dx * dx + dy * dy;
1323 dy = (iy + 1.5f) - y;
1324 dist2 = dx * dx + dy * dy;
1332 dy = (iy + 1.5f) - y;
1333 dist2 = dx * dx + dy * dy;