Home
last modified time | relevance | path

Searched refs:pixel_offset (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c93 (dadx * (info->v1[0][0] - setup->pixel_offset) + in linear_coef()
94 dady * (info->v1[0][1] - setup->pixel_offset))); in linear_coef()
125 (dadx * (info->v1[0][0] - setup->pixel_offset) + in perspective_coef()
126 dady * (info->v1[0][1] - setup->pixel_offset))); in perspective_coef()
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()
[all …]
Dlp_setup_point.c118 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef()
119 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef()
134 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef()
135 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef()
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()
336 int adj = (setup->pixel_offset != 0) ? 1 : 0; in try_setup_point()
Dlp_setup_tri.c270 int adj = (setup->pixel_offset != 0) ? 1 : 0; in do_triangle_ccw()
368 top_left_flag = _mm_set1_epi32((setup->pixel_offset == 0) ? ~0 : 0); in do_triangle_ccw()
438 if (setup->pixel_offset == 0) { in do_triangle_ccw()
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()
Dlp_rast_priv.h224 unsigned px, py, pixel_offset; in lp_rast_get_color_block_pointer() local
237 pixel_offset = tile_pixel_offset(px, py, 0); in lp_rast_get_color_block_pointer()
239 color = color + pixel_offset; in lp_rast_get_color_block_pointer()
Dlp_setup_context.h100 float pixel_offset; member
Dlp_setup.c492 setup->pixel_offset = gl_rasterization_rules ? 0.5f : 0.0f; in lp_setup_set_triangle_state()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c94 float pixel_offset; member
398 setup->pixel_offset = 0.5f; in setup_sort_vertices()
400 setup->pixel_offset = 0.0f; in setup_sort_vertices()
512 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + in tri_linear_coeff()
513 dady * (setup->vmin[0][1] - setup->pixel_offset))); in tri_linear_coeff()
564 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + in tri_persp_coeff()
565 dady * (setup->vmin[0][1] - setup->pixel_offset))); in tri_persp_coeff()
678 float vmin_x = setup->vmin[0][0] + setup->pixel_offset; in setup_tri_edges()
679 float vmid_x = setup->vmid[0][0] + setup->pixel_offset; in setup_tri_edges()
681 float vmin_y = setup->vmin[0][1] - setup->pixel_offset; in setup_tri_edges()
[all …]