Searched refs:FIXED_ONE (Results 1 – 7 of 7) sorted by relevance
/system/core/libpixelflinger/tests/gglmul/ |
D | gglmul_test.cpp | 44 {FIXED_ONE + 1, FIXED_ONE}, 45 {FIXED_ONE, FIXED_ONE}, 46 {FIXED_ONE - 1, FIXED_ONE - 1}, 111 {FIXED_ONE,FIXED_ONE,16}, 115 {FIXED_HALF,FIXED_ONE,16}, 117 {FIXED_ONE,FIXED_MAX,31} 154 {FIXED_ONE,FIXED_ONE,16, 0}, 158 {FIXED_HALF,FIXED_ONE,16,FIXED_ONE}, 160 {FIXED_ONE,FIXED_MAX,31, FIXED_HALF} 197 {FIXED_ONE,FIXED_ONE,16, 0}, [all …]
|
/system/core/libpixelflinger/ |
D | trap.cpp | 645 edge->x, edge->x/float(FIXED_ONE), in edge_dump() 646 edge->x_incr, edge->x_incr/float(FIXED_ONE) ); in edge_dump() 837 float fix = 1.0f / FIXED_ONE; in dump() 1071 int cf = gglMulx((dx >> 1) + (l_min_i + FIXED_ONE - l_max), dy, in aapolyx() 1097 for (int x = l_min_i+FIXED_ONE ; x < l_max_i-FIXED_ONE ; x += FIXED_ONE) { in aapolyx() 1114 for (int x=l_max_i ; x<r_max ; x+=FIXED_ONE) { in aapolyx() 1124 int cf = gglMulx((dx >> 1) + (r_min_i + FIXED_ONE - r_max), dy, in aapolyx() 1139 for (int x = r_min_i+FIXED_ONE ; x < r_max_i-FIXED_ONE ; x += FIXED_ONE) { in aapolyx()
|
D | scanline.cpp | 557 r->c[0] = FIXED_ONE; in blend_factor() 572 r->c[1] = FIXED_ONE - blendfactor(dst->c[1], dst->s[1]); in blend_factor() 573 r->c[2] = FIXED_ONE - blendfactor(dst->c[2], dst->s[2]); in blend_factor() 574 r->c[3] = FIXED_ONE - blendfactor(dst->c[3], dst->s[3]); in blend_factor() 575 r->c[0] = FIXED_ONE - blendfactor(dst->c[0], dst->s[0]); in blend_factor() 578 r->c[1] = FIXED_ONE - blendfactor(src->c[1], src->s[1]); in blend_factor() 579 r->c[2] = FIXED_ONE - blendfactor(src->c[2], src->s[2]); in blend_factor() 580 r->c[3] = FIXED_ONE - blendfactor(src->c[3], src->s[3]); in blend_factor() 581 r->c[0] = FIXED_ONE - blendfactor(src->c[0], src->s[0]); in blend_factor() 587 r->c[0] = blendfactor(src->c[0], src->s[0], FIXED_ONE); in blend_factor() [all …]
|
D | clear.cpp | 45 c->state.clear.depth = FIXED_ONE; in ggl_init_clear()
|
D | fixed.cpp | 81 if (x == FIXED_ONE) return x; in gglSqrtRecipx()
|
D | pixelflinger.cpp | 796 c->state.depth_test.clearValue = FIXED_ONE; in ggl_init_context() 797 c->shade.w0 = FIXED_ONE; in ggl_init_context()
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
D | ggl_fixed.h | 30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS; variable 857 c &= ~(c>>31); c = FIXED_ONE - c; in gglClampx() 858 c &= ~(c>>31); c = FIXED_ONE - c; in gglClampx() 870 if (c>FIXED_ONE) in gglClampx() 871 c = FIXED_ONE; in gglClampx()
|