Lines Matching refs:TRI_HALF
157 halfSize = TRI_HALF; in pointx()
160 if (halfSize & TRI_HALF) { // size odd in pointx()
161 xc = TRI_FLOOR(xc) + TRI_HALF; in pointx()
162 yc = TRI_FLOOR(yc) + TRI_HALF; in pointx()
212 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF; in aa_nice_pointx()
213 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF; in aa_nice_pointx()
277 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF; in aa_pointx()
278 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF; in aa_pointx()
363 halfWidth = TRI_HALF; in linex()
552 const int32_t my = (miny << TRI_FRACTION_BITS) + TRI_HALF; in trianglex_small()
553 const int32_t mx = (minx << TRI_FRACTION_BITS) + TRI_HALF; in trianglex_small()
767 int32_t ymin = TRI_FROM_INT(c->state.scissor.top) + TRI_HALF; in trianglex_big()
768 int32_t ymax = TRI_FROM_INT(c->state.scissor.bottom) - TRI_HALF; in trianglex_big()