Searched refs:FIXED_ONE (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_point.c | 120 float dadx = FIXED_ONE / (float)info->dx12; in texcoord_coef() 137 float dady = FIXED_ONE / (float)info->dx12; in texcoord_coef() 310 return util_iround(FIXED_ONE * a); in subpixel_snap() 383 fixed_width = MAX2(FIXED_ONE, subpixel_snap(size)); in try_setup_point() 393 bbox.x1 = (x[1] + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point() 395 bbox.y1 = (y[1] + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point() 418 fixed_width = MAX2(FIXED_ONE, in try_setup_point() 419 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1)); in try_setup_point() 436 bbox.x0 = ((x0 + FIXED_ONE/2) >> FIXED_ORDER) - int_width/2; in try_setup_point() 437 bbox.y0 = ((y0 + FIXED_ONE/2) >> FIXED_ORDER) - int_width/2; in try_setup_point()
|
D | lp_setup_line.c | 238 return util_iround(FIXED_ONE * a); in subpixel_snap() 303 int fixed_width = util_iround(width) * FIXED_ONE; in try_setup_line() 586 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line() 587 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line() 588 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line() 589 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line() 701 plane[i].dcdx *= FIXED_ONE; in try_setup_line() 702 plane[i].dcdy *= FIXED_ONE; in try_setup_line()
|
D | lp_setup_rect.c | 49 return util_iround(FIXED_ONE * a); in subpixel_snap() 56 return a * (1.0f / FIXED_ONE); in fixed_to_float() 307 bbox.x0 = (MIN3(x0, x1, x2) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_rect_cw() 308 bbox.x1 = (MAX3(x0, x1, x2) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_rect_cw() 309 bbox.y0 = (MIN3(y0, y1, y2) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_rect_cw() 310 bbox.y1 = (MAX3(y0, y1, y2) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_rect_cw()
|
D | lp_scene.c | 621 scene->fixed_sample_pos[i][0] = util_iround(lp_sample_pos_4x[i][0] * FIXED_ONE); in lp_scene_begin_binning() 622 scene->fixed_sample_pos[i][1] = util_iround(lp_sample_pos_4x[i][1] * FIXED_ONE); in lp_scene_begin_binning()
|
D | lp_rast.h | 54 #define FIXED_ONE (1<<FIXED_ORDER) macro
|
D | lp_setup_tri.c | 59 return util_iround(FIXED_ONE * a); in subpixel_snap() 1054 __m128 fixed_one = _mm_set1_ps((float)FIXED_ONE); in calc_fixed_position()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_context.h | 430 #define FIXED_ONE (1 << FIXED_SHIFT) macro 432 #define FIXED_FRAC_MASK (FIXED_ONE - 1) 435 #define FIXED_SCALE ((float) FIXED_ONE) 436 #define FIXED_DBL_SCALE ((double) FIXED_ONE) 442 #define FixedCeil(X) (((X) + FIXED_ONE - FIXED_EPSILON) & FIXED_INT_MASK)
|
D | s_tritemp.h | 145 const GLint snapMask = ~((FIXED_ONE / (1 << SUB_PIXEL_BITS)) - 1); /* for x/y coord snapping */ in NAME() 584 fError = fx - fsx - FIXED_ONE; in NAME() 588 fdError = fdxOuter - fdxLeftEdge + FIXED_ONE; in NAME() 843 fError -= FIXED_ONE; in NAME()
|