Home
last modified time | relevance | path

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

/system/core/libpixelflinger/
Dtrap.cpp167 GGLint l = (xc - halfSize) >> TRI_FRACTION_BITS; in pointx()
168 GGLint t = (yc - halfSize) >> TRI_FRACTION_BITS; in pointx()
169 GGLint r = (xc + halfSize) >> TRI_FRACTION_BITS; in pointx()
170 GGLint b = (yc + halfSize) >> TRI_FRACTION_BITS; in pointx()
208 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS; in aa_nice_pointx()
209 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS; in aa_nice_pointx()
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()
273 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS; in aa_pointx()
274 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS; in aa_pointx()
[all …]
/system/core/include/private/pixelflinger/
Dggl_context.h91 #define TRI_FRACTION_BITS (GGL_SUBPIXEL_BITS) macro
92 #define TRI_ONE (1 << TRI_FRACTION_BITS)
93 #define TRI_HALF (1 << (TRI_FRACTION_BITS-1))
94 #define TRI_FROM_INT(x) ((x) << TRI_FRACTION_BITS)
100 #define TRI_ROUDNING (1 << (16 - TRI_FRACTION_BITS - 1))
101 #define TRI_FROM_FIXED(x) (((x)+TRI_ROUDNING) >> (16-TRI_FRACTION_BITS))