OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TRI_FRACTION_BITS
(Results
1 - 3
of
3
) sorted by null
/system/core/libpixelflinger/
trap.cpp
167
GGLint l = (xc - halfSize) >>
TRI_FRACTION_BITS
;
168
GGLint t = (yc - halfSize) >>
TRI_FRACTION_BITS
;
169
GGLint r = (xc + halfSize) >>
TRI_FRACTION_BITS
;
170
GGLint b = (yc + halfSize) >>
TRI_FRACTION_BITS
;
208
GGLint l = (v[0] - rad) >>
TRI_FRACTION_BITS
;
209
GGLint t = (v[1] - rad) >>
TRI_FRACTION_BITS
;
210
GGLint r = (v[0] + rad + (TRI_ONE-1)) >>
TRI_FRACTION_BITS
;
211
GGLint b = (v[1] + rad + (TRI_ONE-1)) >>
TRI_FRACTION_BITS
;
273
GGLint l = (v[0] - rad) >>
TRI_FRACTION_BITS
;
274
GGLint t = (v[1] - rad) >>
TRI_FRACTION_BITS
;
[
all
...]
/system/core/include/private/pixelflinger/
ggl_context.h
85
//
TRI_FRACTION_BITS
defines the number of bits we want to use
91
#define
TRI_FRACTION_BITS
(GGL_SUBPIXEL_BITS)
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
))
/frameworks/native/opengl/libagl/
primitives.cpp
258
const GGLcoord area = (m_area + TRI_HALF) >>
TRI_FRACTION_BITS
;
299
max(0, 32 - (B +
TRI_FRACTION_BITS
)) + 1;
324
gglMulx(dcdy, m_y0,
TRI_FRACTION_BITS
),
TRI_FRACTION_BITS
));
341
gglMulx(dcdy, m_y0,
TRI_FRACTION_BITS
),
TRI_FRACTION_BITS
));
706
const int shift = 16 + (16 -
TRI_FRACTION_BITS
);
709
int log2TArea = (32-
TRI_FRACTION_BITS
-1) - gglClz(texelArea);
710
int log2Area = (32-
TRI_FRACTION_BITS
*2-1) - gglClz(area);
[
all
...]
Completed in 27 milliseconds