Lines Matching refs:GLfixed

67  * This code uses fixed point arithmetic (the GLfixed type) to iterate
70 * GLfixed and the value of SUB_PIXEL_BITS has a direct bearing on the
76 * GLfixed to walk the edge without error. If the maximum viewport
79 * Historically, Mesa has used 11 fractional bits in GLfixed, snaps
84 * fractional bits in GLfixed. Unfortunately, there may be some issues
106 GLfixed endVal = span.CHANNEL + (LEN) * span.CHANNELSTEP; \
126 GLfixed fdxdy; /* dx/dy in fixed-point */
128 GLfixed fsx; /* first sample point x coord */
129 GLfixed fsy;
130 GLfixed fx0; /* fixed pt X of lower endpoint */
146 GLfixed vMin_fx, vMin_fy, vMid_fx, vMid_fy, vMax_fx, vMax_fy;
179 const GLfixed fy0 = FloatToFixed(v0->attrib[VARYING_SLOT_POS][1] - 0.5F) & snapMask;
180 const GLfixed fy1 = FloatToFixed(v1->attrib[VARYING_SLOT_POS][1] - 0.5F) & snapMask;
181 const GLfixed fy2 = FloatToFixed(v2->attrib[VARYING_SLOT_POS][1] - 0.5F) & snapMask;
264 eMaj.fsx = eMaj.fx0 + (GLfixed) (eMaj.adjy * eMaj.dxdy);
277 eTop.fsx = eTop.fx0 + (GLfixed) (eTop.adjy * eTop.dxdy);
287 eBot.fsx = eBot.fx0 + (GLfixed) (eBot.adjy * eBot.dxdy);
496 GLfixed fxLeftEdge = 0, fxRightEdge = 0;
497 GLfixed fdxLeftEdge = 0, fdxRightEdge = 0;
498 GLfixed fError = 0, fdError = 0;
511 GLfixed fdzOuter = 0, fdzInner;
522 GLfixed sLeft=0, dsOuter=0, dsInner;
523 GLfixed tLeft=0, dtOuter=0, dtInner;
575 const GLfixed fsy = eLeft->fsy;
576 const GLfixed fsx = eLeft->fsx; /* no fractional part */
577 const GLfixed fx = FixedCeil(fsx); /* no fractional part */
578 const GLfixed adjx = (GLfixed) (fx - eLeft->fx0); /* SCALED! */
579 const GLfixed adjy = (GLfixed) eLeft->adjy; /* SCALED! */
582 GLfixed fdxOuter;
625 zLeft = (GLfixed) tmp;
688 sLeft = (GLfixed)(s0 * FIXED_SCALE + span.attrStepX[VARYING_SLOT_TEX0][0] * adjx
694 tLeft = (GLfixed)(t0 * FIXED_SCALE + span.attrStepX[VARYING_SLOT_TEX0][1] * adjx