Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c120 float dadx = FIXED_ONE / (float)info->dx12; in texcoord_coef()
137 float dady = FIXED_ONE / (float)info->dx12; in texcoord_coef()
302 return util_iround(FIXED_ONE * a); in subpixel_snap()
375 fixed_width = MAX2(FIXED_ONE, subpixel_snap(size)); in try_setup_point()
380 bbox.x0 = (x0 + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point()
381 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point()
382 bbox.y0 = (y0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point()
383 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point()
406 fixed_width = MAX2(FIXED_ONE, in try_setup_point()
407 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1)); in try_setup_point()
[all …]
Dlp_setup_line.c238 return util_iround(FIXED_ONE * a); in subpixel_snap()
303 int fixed_width = util_iround(width) * FIXED_ONE; in try_setup_line()
560 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line()
561 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line()
562 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line()
563 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line()
689 plane[i].dcdx *= FIXED_ONE; in try_setup_line()
690 plane[i].dcdy *= FIXED_ONE; in try_setup_line()
Dlp_rast.h53 #define FIXED_ONE (1<<FIXED_ORDER) macro
Dlp_setup_tri.c59 return util_iround(FIXED_ONE * a); in subpixel_snap()
1022 __m128 fixed_one = _mm_set1_ps((float)FIXED_ONE); in calc_fixed_position()
/external/mesa3d/src/mesa/swrast/
Ds_context.h429 #define FIXED_ONE (1 << FIXED_SHIFT) macro
431 #define FIXED_FRAC_MASK (FIXED_ONE - 1)
434 #define FIXED_SCALE ((float) FIXED_ONE)
435 #define FIXED_DBL_SCALE ((double) FIXED_ONE)
441 #define FixedCeil(X) (((X) + FIXED_ONE - FIXED_EPSILON) & FIXED_INT_MASK)
Ds_tritemp.h144 const GLint snapMask = ~((FIXED_ONE / (1 << SUB_PIXEL_BITS)) - 1); /* for x/y coord snapping */ in NAME()
583 fError = fx - fsx - FIXED_ONE; in NAME()
587 fdError = fdxOuter - fdxLeftEdge + FIXED_ONE; in NAME()
842 fError -= FIXED_ONE; in NAME()