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

/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c236 static inline int subpixel_snap( float a ) function
441 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
442 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
443 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
444 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
446 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2;
447 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) - fixed_width/2;
448 y[2] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) + fixed_width/2;
449 y[3] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) + fixed_width/2;
538 x[0] = subpixel_snap(v
[all...]
H A Dlp_setup_point.c300 subpixel_snap(float a) function
375 fixed_width = MAX2(FIXED_ONE, subpixel_snap(size));
377 x0 = subpixel_snap(v0[0][0] - setup->pixel_offset) - fixed_width/2;
378 y0 = subpixel_snap(v0[0][1] - setup->pixel_offset) - fixed_width/2;
399 const int x0 = subpixel_snap(v0[0][0]);
400 const int y0 = subpixel_snap(v0[0][1]) - adj;
407 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1));
H A Dlp_setup_tri.c55 subpixel_snap(float a) function
1039 position->x[0] = subpixel_snap(v0[0][0] - setup->pixel_offset);
1040 position->x[1] = subpixel_snap(v1[0][0] - setup->pixel_offset);
1041 position->x[2] = subpixel_snap(v2[0][0] - setup->pixel_offset);
1044 position->y[0] = subpixel_snap(v0[0][1] - setup->pixel_offset);
1045 position->y[1] = subpixel_snap(v1[0][1] - setup->pixel_offset);
1046 position->y[2] = subpixel_snap(v2[0][1] - setup->pixel_offset);

Completed in 121 milliseconds