Searched refs:TRI_ONE (Results 1 – 2 of 2) sorted by relevance
99 float tri = 1.0f / TRI_ONE; in triangle_dump_points()210 GGLint r = (v[0] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_nice_pointx()211 GGLint b = (v[1] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_nice_pointx()248 x += TRI_ONE; in aa_nice_pointx()250 y += TRI_ONE; in aa_nice_pointx()275 GGLint r = (v[0] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_pointx()276 GGLint b = (v[1] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_pointx()321 x += TRI_ONE; in aa_pointx()323 y += TRI_ONE; in aa_pointx()473 linex(con, v0, v1, TRI_ONE); in trianglex_debug()[all …]
92 #define TRI_ONE (1 << TRI_FRACTION_BITS) macro95 #define TRI_FRAC(x) ((x) & (TRI_ONE-1))96 #define TRI_FLOOR(x) ((x) & ~(TRI_ONE-1))97 #define TRI_CEIL(x) (((x) + (TRI_ONE-1)) & ~(TRI_ONE-1))98 #define TRI_ROUND(x) (((x) + TRI_HALF ) & ~(TRI_ONE-1))