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.c232 static INLINE int subpixel_snap( float a ) in subpixel_snap() function
426 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); in try_setup_line()
427 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset); in try_setup_line()
428 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset); in try_setup_line()
429 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); in try_setup_line()
431 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2; in try_setup_line()
432 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) - fixed_width/2; in try_setup_line()
433 y[2] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) + fixed_width/2; in try_setup_line()
434 y[3] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) + fixed_width/2; in try_setup_line()
523 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset) - fixed_width/2; in try_setup_line()
[all …]
Dlp_setup_point.c295 subpixel_snap(float a) in subpixel_snap() function
316 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1)); in try_setup_point()
318 const int x0 = subpixel_snap(v0[0][0] - setup->pixel_offset) - fixed_width/2; in try_setup_point()
319 const int y0 = subpixel_snap(v0[0][1] - setup->pixel_offset) - fixed_width/2; in try_setup_point()
Dlp_setup_tri.c49 subpixel_snap(float a) in subpixel_snap() function
796 position->x[0] = subpixel_snap(v0[0][0] - setup->pixel_offset); in calc_fixed_position()
797 position->x[1] = subpixel_snap(v1[0][0] - setup->pixel_offset); in calc_fixed_position()
798 position->x[2] = subpixel_snap(v2[0][0] - setup->pixel_offset); in calc_fixed_position()
801 position->y[0] = subpixel_snap(v0[0][1] - setup->pixel_offset); in calc_fixed_position()
802 position->y[1] = subpixel_snap(v1[0][1] - setup->pixel_offset); in calc_fixed_position()
803 position->y[2] = subpixel_snap(v2[0][1] - setup->pixel_offset); in calc_fixed_position()