Searched refs:FIXED_ONE (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c116 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
[all...]
H A Dlp_setup_line.c234 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;
H A Dlp_rast.h51 #define FIXED_ONE (1<<FIXED_ORDER) macro
H A Dlp_setup_tri.c51 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/
H A Dlp_setup_point.c116 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
[all...]
H A Dlp_setup_line.c234 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;
H A Dlp_rast.h51 #define FIXED_ONE (1<<FIXED_ORDER) macro
H A Dlp_setup_tri.c51 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/
H A Ds_context.h410 #define FIXED_ONE (1 << FIXED_SHIFT) macro
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)
H A Ds_tritemp.h139 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;
837 fError -= FIXED_ONE;
/external/mesa3d/src/mesa/swrast/
H A Ds_context.h410 #define FIXED_ONE (1 << FIXED_SHIFT) macro
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)
H A Ds_tritemp.h139 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;
837 fError -= FIXED_ONE;

Completed in 169 milliseconds