Home
last modified time | relevance | path

Searched refs:FIXED_ONE (Results 1 – 7 of 7) sorted by relevance

/system/core/libpixelflinger/tests/gglmul/
Dgglmul_test.cpp44 {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/
Dtrap.cpp645 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()
Dscanline.cpp555 r->c[0] = FIXED_ONE; in blend_factor()
570 r->c[1] = FIXED_ONE - blendfactor(dst->c[1], dst->s[1]); in blend_factor()
571 r->c[2] = FIXED_ONE - blendfactor(dst->c[2], dst->s[2]); in blend_factor()
572 r->c[3] = FIXED_ONE - blendfactor(dst->c[3], dst->s[3]); in blend_factor()
573 r->c[0] = FIXED_ONE - blendfactor(dst->c[0], dst->s[0]); in blend_factor()
576 r->c[1] = FIXED_ONE - blendfactor(src->c[1], src->s[1]); in blend_factor()
577 r->c[2] = FIXED_ONE - blendfactor(src->c[2], src->s[2]); in blend_factor()
578 r->c[3] = FIXED_ONE - blendfactor(src->c[3], src->s[3]); in blend_factor()
579 r->c[0] = FIXED_ONE - blendfactor(src->c[0], src->s[0]); in blend_factor()
585 r->c[0] = blendfactor(src->c[0], src->s[0], FIXED_ONE); in blend_factor()
[all …]
Dclear.cpp45 c->state.clear.depth = FIXED_ONE; in ggl_init_clear()
Dfixed.cpp92 if (x == FIXED_ONE) return x; in gglSqrtRecipx()
Dpixelflinger.cpp796 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/
Dggl_fixed.h30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS; variable
612 c &= ~(c>>31); c = FIXED_ONE - c; in gglClampx()
613 c &= ~(c>>31); c = FIXED_ONE - c; in gglClampx()
625 if (c>FIXED_ONE) in gglClampx()
626 c = FIXED_ONE; in gglClampx()