Home
last modified time | relevance | path

Searched refs:subpixel_snap (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c236 static inline int subpixel_snap( float a ) in subpixel_snap() function
447 x[0] = subpixel_snap(v1[0][0] + x_offset - pixel_offset); in try_setup_line()
448 x[1] = subpixel_snap(v2[0][0] + x_offset_end - pixel_offset); in try_setup_line()
449 x[2] = subpixel_snap(v2[0][0] + x_offset_end - pixel_offset); in try_setup_line()
450 x[3] = subpixel_snap(v1[0][0] + x_offset - pixel_offset); in try_setup_line()
452 y[0] = subpixel_snap(v1[0][1] + y_offset - pixel_offset) - fixed_width/2; in try_setup_line()
453 y[1] = subpixel_snap(v2[0][1] + y_offset_end - pixel_offset) - fixed_width/2; in try_setup_line()
454 y[2] = subpixel_snap(v2[0][1] + y_offset_end - pixel_offset) + fixed_width/2; in try_setup_line()
455 y[3] = subpixel_snap(v1[0][1] + y_offset - pixel_offset) + fixed_width/2; in try_setup_line()
544 x[0] = subpixel_snap(v1[0][0] + x_offset - pixel_offset) - fixed_width/2; in try_setup_line()
[all …]
Dlp_setup_point.c308 subpixel_snap(float a) in subpixel_snap() function
386 fixed_width = MAX2(FIXED_ONE, subpixel_snap(size)); in try_setup_point()
388 x0 = subpixel_snap(v0[0][0] - pixel_offset) - fixed_width/2; in try_setup_point()
389 y0 = subpixel_snap(v0[0][1] - pixel_offset) - fixed_width/2; in try_setup_point()
410 const int x0 = subpixel_snap(v0[0][0]); in try_setup_point()
411 const int y0 = subpixel_snap(v0[0][1]) - adj; in try_setup_point()
418 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1)); in try_setup_point()
Dlp_setup_tri.c57 subpixel_snap(float a) in subpixel_snap() function
1066 position->x[0] = subpixel_snap(v0[0][0] - pixel_offset); in calc_fixed_position()
1067 position->x[1] = subpixel_snap(v1[0][0] - pixel_offset); in calc_fixed_position()
1068 position->x[2] = subpixel_snap(v2[0][0] - pixel_offset); in calc_fixed_position()
1071 position->y[0] = subpixel_snap(v0[0][1] - pixel_offset); in calc_fixed_position()
1072 position->y[1] = subpixel_snap(v1[0][1] - pixel_offset); in calc_fixed_position()
1073 position->y[2] = subpixel_snap(v2[0][1] - pixel_offset); in calc_fixed_position()