Searched refs:fixed_width (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c351 int fixed_width; local in function:try_setup_point
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;
381 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER;
383 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
406 fixed_width = MAX2(FIXED_ONE,
408 int_width = fixed_width >> FIXED_ORDER;
474 info.dx12 = fixed_width;
475 info.dy01 = fixed_width;
[all...]
H A Dlp_setup_line.c303 int fixed_width = util_iround(width) * FIXED_ONE; local in function:try_setup_line
448 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2;
449 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) - fixed_width/2;
450 y[2] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) + fixed_width/2;
451 y[3] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) + fixed_width/2;
540 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset) - fixed_width/2;
541 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset) - fixed_width/2;
542 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset) + fixed_width/2;
543 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset) + fixed_width/2;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c360 int fixed_width; local in function:try_setup_point
383 fixed_width = MAX2(FIXED_ONE, subpixel_snap(size));
385 x0 = subpixel_snap(v0[0][0] - pixel_offset) - fixed_width/2;
386 y0 = subpixel_snap(v0[0][1] - pixel_offset) - fixed_width/2;
389 x[1] = x0 + fixed_width;
391 y[1] = y0 + fixed_width;
418 fixed_width = MAX2(FIXED_ONE,
420 int_width = fixed_width >> FIXED_ORDER;
498 info.dx12 = fixed_width;
499 info.dy01 = fixed_width;
[all...]
H A Dlp_setup_line.c303 int fixed_width = util_iround(width) * FIXED_ONE; local in function:try_setup_line
470 y[0] = subpixel_snap(v1[0][1] + y_offset - pixel_offset) - fixed_width/2;
471 y[1] = subpixel_snap(v2[0][1] + y_offset_end - pixel_offset) - fixed_width/2;
472 y[2] = subpixel_snap(v2[0][1] + y_offset_end - pixel_offset) + fixed_width/2;
473 y[3] = subpixel_snap(v1[0][1] + y_offset - pixel_offset) + fixed_width/2;
566 x[0] = subpixel_snap(v1[0][0] + x_offset - pixel_offset) - fixed_width/2;
567 x[1] = subpixel_snap(v2[0][0] + x_offset_end - pixel_offset) - fixed_width/2;
568 x[2] = subpixel_snap(v2[0][0] + x_offset_end - pixel_offset) + fixed_width/2;
569 x[3] = subpixel_snap(v1[0][0] + x_offset - pixel_offset) + fixed_width/2;

Completed in 5 milliseconds