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
100 GLfixed endVal = span.CHANNEL + (LEN) * span.CHANNELSTEP; \
120 GLfixed fdxdy; /* dx/dy in fixed-point */
122 GLfixed fsx; /* first sample point x coord */
123 GLfixed fsy;
124 GLfixed fx0; /* fixed pt X of lower endpoint */
140 GLfixed vMin_fx, vMin_fy, vMid_fx, vMid_fy, vMax_fx, vMax_fy;
173 const GLfixed fy0 = FloatToFixed(v0->attrib[FRAG_ATTRIB_WPOS][1] - 0.5F) & snapMask;
174 const GLfixed fy1 = FloatToFixed(v1->attrib[FRAG_ATTRIB_WPOS][1] - 0.5F) & snapMask;
175 const GLfixed fy2 = FloatToFixed(v2->attrib[FRAG_ATTRIB_WPOS][1] - 0.5F) & snapMask;
258 eMaj.fsx = eMaj.fx0 + (GLfixed) (eMaj.adjy * eMaj.dxdy);
271 eTop.fsx = eTop.fx0 + (GLfixed) (eTop.adjy * eTop.dxdy);
281 eBot.fsx = eBot.fx0 + (GLfixed) (eBot.adjy * eBot.dxdy);
490 GLfixed fxLeftEdge = 0, fxRightEdge = 0;
491 GLfixed fdxLeftEdge = 0, fdxRightEdge = 0;
492 GLfixed fError = 0, fdError = 0;
505 GLfixed fdzOuter = 0, fdzInner;
516 GLfixed sLeft=0, dsOuter=0, dsInner;
517 GLfixed tLeft=0, dtOuter=0, dtInner;
569 const GLfixed fsy = eLeft->fsy;
570 const GLfixed fsx = eLeft->fsx; /* no fractional part */
571 const GLfixed fx = FixedCeil(fsx); /* no fractional part */
572 const GLfixed adjx = (GLfixed) (fx - eLeft->fx0); /* SCALED! */
573 const GLfixed adjy = (GLfixed) eLeft->adjy; /* SCALED! */
576 GLfixed fdxOuter;
619 zLeft = (GLfixed) tmp;
682 sLeft = (GLfixed)(s0 * FIXED_SCALE + span.attrStepX[FRAG_ATTRIB_TEX0][0] * adjx
688 tLeft = (GLfixed)(t0 * FIXED_SCALE + span.attrStepX[FRAG_ATTRIB_TEX0][1] * adjx