/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_setup_point.c | 116 float dadx = FIXED_ONE / (float)info->dx12; 133 float dady = FIXED_ONE / (float)info->dx12; 297 return util_iround(FIXED_ONE * a); 315 int fixed_width = MAX2(FIXED_ONE, 316 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1)); 338 bbox.x0 = (x0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 339 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 340 bbox.y0 = (y0 + (FIXED_ONE-1)) >> FIXED_ORDER; 341 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER [all...] |
lp_setup_line.c | 234 return util_iround(FIXED_ONE * a); 294 int fixed_width = util_iround(width) * FIXED_ONE; 548 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 549 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 550 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 551 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 653 plane[i].dcdx *= FIXED_ONE; 654 plane[i].dcdy *= FIXED_ONE;
|
lp_rast.h | 51 #define FIXED_ONE (1<<FIXED_ORDER)
|
lp_setup_tri.c | 51 return util_iround(FIXED_ONE * a); 57 return a * (1.0 / FIXED_ONE); 450 plane[i].dcdx *= FIXED_ONE; 451 plane[i].dcdy *= FIXED_ONE;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup_point.c | 116 float dadx = FIXED_ONE / (float)info->dx12; 133 float dady = FIXED_ONE / (float)info->dx12; 297 return util_iround(FIXED_ONE * a); 315 int fixed_width = MAX2(FIXED_ONE, 316 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1)); 338 bbox.x0 = (x0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 339 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 340 bbox.y0 = (y0 + (FIXED_ONE-1)) >> FIXED_ORDER; 341 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER [all...] |
lp_setup_line.c | 234 return util_iround(FIXED_ONE * a); 294 int fixed_width = util_iround(width) * FIXED_ONE; 548 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 549 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 550 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 551 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 653 plane[i].dcdx *= FIXED_ONE; 654 plane[i].dcdy *= FIXED_ONE;
|
lp_rast.h | 51 #define FIXED_ONE (1<<FIXED_ORDER)
|
lp_setup_tri.c | 51 return util_iround(FIXED_ONE * a); 57 return a * (1.0 / FIXED_ONE); 450 plane[i].dcdx *= FIXED_ONE; 451 plane[i].dcdy *= FIXED_ONE;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_context.h | 410 #define FIXED_ONE (1 << FIXED_SHIFT) 412 #define FIXED_FRAC_MASK (FIXED_ONE - 1) 415 #define FIXED_SCALE ((float) FIXED_ONE) 416 #define FIXED_DBL_SCALE ((double) FIXED_ONE) 422 #define FixedCeil(X) (((X) + FIXED_ONE - FIXED_EPSILON) & FIXED_INT_MASK)
|
s_tritemp.h | 139 const GLint snapMask = ~((FIXED_ONE / (1 << SUB_PIXEL_BITS)) - 1); /* for x/y coord snapping */ 578 fError = fx - fsx - FIXED_ONE; 582 fdError = fdxOuter - fdxLeftEdge + FIXED_ONE; [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_context.h | 410 #define FIXED_ONE (1 << FIXED_SHIFT) 412 #define FIXED_FRAC_MASK (FIXED_ONE - 1) 415 #define FIXED_SCALE ((float) FIXED_ONE) 416 #define FIXED_DBL_SCALE ((double) FIXED_ONE) 422 #define FixedCeil(X) (((X) + FIXED_ONE - FIXED_EPSILON) & FIXED_INT_MASK)
|
s_tritemp.h | 139 const GLint snapMask = ~((FIXED_ONE / (1 << SUB_PIXEL_BITS)) - 1); /* for x/y coord snapping */ 578 fError = fx - fsx - FIXED_ONE; 582 fdError = fdxOuter - fdxLeftEdge + FIXED_ONE; [all...] |
/frameworks/native/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 17 #define FIXED_ONE 0x10000 160 FIXED_ONE, 0, 161 FIXED_ONE, FIXED_ONE, 162 0, FIXED_ONE
|
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 25 #define FIXED_ONE 0x10000 241 FIXED_ONE, 0,
242 FIXED_ONE, FIXED_ONE,
243 0, FIXED_ONE
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
plasma.c | 55 #define FIXED_ONE (1 << FIXED_BITS) 61 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE)) 62 #define FIXED_TO_FLOAT(x) ((x)/(1.*FIXED_ONE)) 65 #define FIXED_DIV(x,y) (((int64_t)(x) * FIXED_ONE) / (y)) 73 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f))) 175 if (x >= FIXED_ONE) x = FIXED_ONE-1;
|
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
plasma.c | 60 #define FIXED_ONE (1 << FIXED_BITS) 66 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE)) 67 #define FIXED_TO_FLOAT(x) ((x)/(1.*FIXED_ONE)) 70 #define FIXED_DIV(x,y) (((int64_t)(x) * FIXED_ONE) / (y)) 78 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f))) 180 if (x >= FIXED_ONE) x = FIXED_ONE-1;
|
/frameworks/native/opengl/tests/gl_basic/ |
gl_basic.cpp | 23 #define FIXED_ONE 0x10000 350 FIXED_ONE, 0, 351 FIXED_ONE, FIXED_ONE, 352 0, FIXED_ONE
|
/system/core/include/private/pixelflinger/ |
ggl_fixed.h | 30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS; 549 c &= ~(c>>31); c = FIXED_ONE - c; 550 c &= ~(c>>31); c = FIXED_ONE - c; 560 if (c>FIXED_ONE) 561 c = FIXED_ONE;
|
/system/core/libpixelflinger/ |
trap.cpp | 645 edge->x, edge->x/float(FIXED_ONE), 646 edge->x_incr, edge->x_incr/float(FIXED_ONE) ); 837 float fix = 1.0f / FIXED_ONE; 1071 int cf = gglMulx((dx >> 1) + (l_min_i + FIXED_ONE - l_max), dy, [all...] |
clear.cpp | 45 c->state.clear.depth = FIXED_ONE;
|
scanline.cpp | 539 r->c[0] = FIXED_ONE; 554 r->c[1] = FIXED_ONE - blendfactor(dst->c[1], dst->s[1]); 555 r->c[2] = FIXED_ONE - blendfactor(dst->c[2], dst->s[2]); 556 r->c[3] = FIXED_ONE - blendfactor(dst->c[3], dst->s[3]); 557 r->c[0] = FIXED_ONE - blendfactor(dst->c[0], dst->s[0]); 560 r->c[1] = FIXED_ONE - blendfactor(src->c[1], src->s[1]); 561 r->c[2] = FIXED_ONE - blendfactor(src->c[2], src->s[2]); 562 r->c[3] = FIXED_ONE - blendfactor(src->c[3], src->s[3]); 563 r->c[0] = FIXED_ONE - blendfactor(src->c[0], src->s[0]); 569 r->c[0] = blendfactor(src->c[0], src->s[0], FIXED_ONE); [all...] |
fixed.cpp | 92 if (x == FIXED_ONE) return x;
|
pixelflinger.cpp | 804 c->state.depth_test.clearValue = FIXED_ONE; 805 c->shade.w0 = FIXED_ONE;
|