Searched defs:subpixel_snap (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c295 subpixel_snap(float a) function
316 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1));
318 const int x0 = subpixel_snap(v0[0][0] - setup->pixel_offset) - fixed_width/2;
319 const int y0 = subpixel_snap(v0[0][1] - setup->pixel_offset) - fixed_width/2;
H A Dlp_setup_line.c232 static INLINE int subpixel_snap( float a ) function
426 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
427 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
428 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
429 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
431 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2;
432 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) - fixed_width/2;
433 y[2] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) + fixed_width/2;
434 y[3] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) + fixed_width/2;
523 x[0] = subpixel_snap(v
[all...]
H A Dlp_setup_tri.c49 subpixel_snap(float a) function
796 position->x[0] = subpixel_snap(v0[0][0] - setup->pixel_offset);
797 position->x[1] = subpixel_snap(v1[0][0] - setup->pixel_offset);
798 position->x[2] = subpixel_snap(v2[0][0] - setup->pixel_offset);
801 position->y[0] = subpixel_snap(v0[0][1] - setup->pixel_offset);
802 position->y[1] = subpixel_snap(v1[0][1] - setup->pixel_offset);
803 position->y[2] = subpixel_snap(v2[0][1] - setup->pixel_offset);
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c295 subpixel_snap(float a) function
316 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1));
318 const int x0 = subpixel_snap(v0[0][0] - setup->pixel_offset) - fixed_width/2;
319 const int y0 = subpixel_snap(v0[0][1] - setup->pixel_offset) - fixed_width/2;
H A Dlp_setup_line.c232 static INLINE int subpixel_snap( float a ) function
426 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
427 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
428 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
429 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
431 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2;
432 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) - fixed_width/2;
433 y[2] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) + fixed_width/2;
434 y[3] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) + fixed_width/2;
523 x[0] = subpixel_snap(v
[all...]
H A Dlp_setup_tri.c49 subpixel_snap(float a) function
796 position->x[0] = subpixel_snap(v0[0][0] - setup->pixel_offset);
797 position->x[1] = subpixel_snap(v1[0][0] - setup->pixel_offset);
798 position->x[2] = subpixel_snap(v2[0][0] - setup->pixel_offset);
801 position->y[0] = subpixel_snap(v0[0][1] - setup->pixel_offset);
802 position->y[1] = subpixel_snap(v1[0][1] - setup->pixel_offset);
803 position->y[2] = subpixel_snap(v2[0][1] - setup->pixel_offset);

Completed in 1183 milliseconds