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

/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_aatritemp.h182 const GLfloat dxdy = majDx / majDy; variable in typeref:typename:const GLfloat
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 in typeref:typename:const GLfloat
252 const GLfloat xAdj = dxdy > 0 ? dxdy : 0.0F;
258 GLfloat x = pMin[0] - (yMin - iy) * dxdy;
H A Ds_tritemp.h124 GLfloat dxdy; /* dx/dy */ member in struct:NAME::__anon929b69fe0108
259 eMaj.dxdy = eMaj.dx / eMaj.dy;
260 eMaj.fdxdy = SignedFloatToFixed(eMaj.dxdy);
263 eMaj.fsx = eMaj.fx0 + (GLfixed) (eMaj.adjy * eMaj.dxdy);
272 eTop.dxdy = eTop.dx / eTop.dy;
273 eTop.fdxdy = SignedFloatToFixed(eTop.dxdy);
276 eTop.fsx = eTop.fx0 + (GLfixed) (eTop.adjy * eTop.dxdy);
282 eBot.dxdy = eBot.dx / eBot.dy;
283 eBot.fdxdy = SignedFloatToFixed(eBot.dxdy);
286 eBot.fsx = eBot.fx0 + (GLfixed) (eBot.adjy * eBot.dxdy);
[all...]
H A Ds_aaline.c417 GLfloat dxdy = line->dx / line->dy; local in function:segment
457 xLeft += dxdy;
458 xRight += dxdy;
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_aatritemp.h182 const GLfloat dxdy = majDx / majDy; variable in typeref:typename:const GLfloat
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 in typeref:typename:const GLfloat
252 const GLfloat xAdj = dxdy > 0 ? dxdy : 0.0F;
258 GLfloat x = pMin[0] - (yMin - iy) * dxdy;
H A Ds_tritemp.h125 GLfloat dxdy; /* dx/dy */ member in struct:NAME::__anonea9e26f10108
260 eMaj.dxdy = eMaj.dx / eMaj.dy;
261 eMaj.fdxdy = SignedFloatToFixed(eMaj.dxdy);
264 eMaj.fsx = eMaj.fx0 + (GLfixed) (eMaj.adjy * eMaj.dxdy);
273 eTop.dxdy = eTop.dx / eTop.dy;
274 eTop.fdxdy = SignedFloatToFixed(eTop.dxdy);
277 eTop.fsx = eTop.fx0 + (GLfixed) (eTop.adjy * eTop.dxdy);
283 eBot.dxdy = eBot.dx / eBot.dy;
284 eBot.fdxdy = SignedFloatToFixed(eBot.dxdy);
287 eBot.fsx = eBot.fx0 + (GLfixed) (eBot.adjy * eBot.dxdy);
[all...]
H A Ds_aaline.c416 GLfloat dxdy = line->dx / line->dy; local in function:segment
456 xLeft += dxdy;
457 xRight += dxdy;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c477 const float dxdy = dx / dy; local in function:try_setup_line
503 float xintersect = fracf(v1[0][0]) + y1diff * dxdy;
521 float xintersect = fracf(v2[0][0]) + y2diff * dxdy;
532 info.dy *= 1 + dxdy * dxdy;
545 x_offset_end = y_offset_end * dxdy;
549 x_offset = y_offset * dxdy;
556 x_offset = y_offset * dxdy;
561 x_offset_end = y_offset_end * dxdy;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c455 const float dxdy = dx / dy; local in function:try_setup_line
481 float xintersect = fracf(v1[0][0]) + y1diff * dxdy;
499 float xintersect = fracf(v2[0][0]) + y2diff * dxdy;
519 x_offset_end = y_offset_end * dxdy;
523 x_offset = y_offset * dxdy;
530 x_offset = y_offset * dxdy;
535 x_offset_end = y_offset_end * dxdy;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.c57 float dxdy; /**< dx/dy */ member in struct:edge
630 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f;
631 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy;
635 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f;
636 setup->etop.sx = vmid_x + (setup->etop.sy - vmid_y) * setup->etop.dxdy;
640 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f;
641 setup->ebot.sx = vmin_x + (setup->ebot.sy - vmin_y) * setup->ebot.dxdy;
691 int left = (int)(eleft->sx + y * eleft->dxdy);
692 int right = (int)(eright->sx + y * eright->dxdy);
715 eleft->sx += lines * eleft->dxdy;
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_trapezoids_mono.c55 struct quorem dxdy; member in struct:mono_edge
241 e->dxdy.quo = 0;
242 e->dxdy.rem = 0;
251 e->dxdy = floored_muldivrem(dx, pixman_fixed_1, dy);
261 __DBG(("%s: initial x=%d [%d.%d/%d] + dxdy=%d.%d/%d\n",
264 e->dxdy.quo, e->dxdy.rem, e->dy));
370 e->dxdy.quo == n->dxdy.quo &&
371 e->dxdy
[all...]
H A Dsna_trapezoids_precise.c159 struct quorem dxdy; member in struct:edge
492 __FUNCTION__, e->x.quo, e->x.rem, e->dxdy.quo, e->dxdy.rem));
494 e->x.quo += e->dxdy.quo;
495 e->x.rem += e->dxdy.rem;
543 e->dxdy.quo = e->dxdy.rem = 0;
559 e->dxdy.quo = Ex * (2 << 16) / Ey;
560 e->dxdy.rem = Ex * (2 << 16) % Ey;
595 (long long)e->dxdy
[all...]
H A Dsna_trapezoids_imprecise.c145 struct quorem dxdy; member in struct:edge
497 e->dxdy.quo = 0;
498 e->dxdy.rem = 0;
507 e->dxdy.quo = Ex * (2 << 16) / Ey;
508 e->dxdy.rem = Ex * (2 << 16) % Ey;
591 e->dxdy.quo = 0;
592 e->dxdy.rem = 0;
600 e->dxdy.quo = Ex * (2 << 16) / Ey;
601 e->dxdy.rem = Ex * (2 << 16) % Ey;
633 e->dxdy
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_trapezoids_precise.c159 struct quorem dxdy; member in struct:edge
492 __FUNCTION__, e->x.quo, e->x.rem, e->dxdy.quo, e->dxdy.rem));
494 e->x.quo += e->dxdy.quo;
495 e->x.rem += e->dxdy.rem;
543 e->dxdy.quo = e->dxdy.rem = 0;
559 e->dxdy.quo = Ex * (2 << 16) / Ey;
560 e->dxdy.rem = Ex * (2 << 16) % Ey;
595 (long long)e->dxdy
[all...]
H A Dsna_trapezoids_mono.c55 struct quorem dxdy; member in struct:mono_edge
240 e->dxdy.quo = 0;
241 e->dxdy.rem = 0;
250 e->dxdy = floored_muldivrem(dx, pixman_fixed_1, dy);
259 __DBG(("%s: initial x=%d [%d.%d/%d] + dxdy=%d.%d/%d\n",
262 e->dxdy.quo, e->dxdy.rem, e->dy));
369 e->dxdy.quo == n->dxdy.quo &&
370 e->dxdy
[all...]
H A Dsna_trapezoids_imprecise.c145 struct quorem dxdy; member in struct:edge
497 e->dxdy.quo = 0;
498 e->dxdy.rem = 0;
507 e->dxdy.quo = Ex * (2 << 16) / Ey;
508 e->dxdy.rem = Ex * (2 << 16) % Ey;
591 e->dxdy.quo = 0;
592 e->dxdy.rem = 0;
600 e->dxdy.quo = Ex * (2 << 16) / Ey;
601 e->dxdy.rem = Ex * (2 << 16) % Ey;
633 e->dxdy
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.c56 float dxdy; /**< dx/dy */ member in struct:edge
679 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f;
680 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy;
684 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f;
685 setup->etop.sx = vmid_x + (setup->etop.sy - vmid_y) * setup->etop.dxdy;
689 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f;
690 setup->ebot.sx = vmin_x + (setup->ebot.sy - vmin_y) * setup->ebot.dxdy;
740 int left = (int)(eleft->sx + y * eleft->dxdy);
741 int right = (int)(eright->sx + y * eright->dxdy);
764 eleft->sx += lines * eleft->dxdy;
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimstb_truetype.h2746 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); local in function:stbtt__new_active
2751 if (dxdy < 0)
2752 z->dx = -STBTT_ifloor(STBTT_FIX * -dxdy);
2754 z->dx = STBTT_ifloor(STBTT_FIX * dxdy);
2768 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); local in function:stbtt__new_active
2772 z->fdx = dxdy;
2773 z->fdy = dxdy != 0.0f ? (1.0f/dxdy) : 0.0f;
2774 z->fx = e->x0 + dxdy * (start_point - e->y0);
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimstb_truetype.h2746 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); local in function:stbtt__new_active
2751 if (dxdy < 0)
2752 z->dx = -STBTT_ifloor(STBTT_FIX * -dxdy);
2754 z->dx = STBTT_ifloor(STBTT_FIX * dxdy);
2768 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); local in function:stbtt__new_active
2772 z->fdx = dxdy;
2773 z->fdy = dxdy != 0.0f ? (1.0f/dxdy) : 0.0f;
2774 z->fx = e->x0 + dxdy * (start_point - e->y0);

Completed in 81 milliseconds