Home
last modified time | relevance | path

Searched refs:TRI_FROM_INT (Results 1 – 2 of 2) sorted by relevance

/system/core/libpixelflinger/
Dtrap.cpp214 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF; in aa_nice_pointx()
215 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF; in aa_nice_pointx()
219 xstart += TRI_FROM_INT(c->state.scissor.left-l); in aa_nice_pointx()
223 ystart += TRI_FROM_INT(c->state.scissor.top-t); in aa_nice_pointx()
279 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF; in aa_pointx()
280 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF; in aa_pointx()
284 xstart += TRI_FROM_INT(c->state.scissor.left-l); in aa_pointx()
288 ystart += TRI_FROM_INT(c->state.scissor.top-t); in aa_pointx()
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()
[all …]
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h94 #define TRI_FROM_INT(x) ((x) << TRI_FRACTION_BITS) macro