/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_blit.c | 118 * \param dst0 the dst rect coordinate (for example dst_x0) 160 float *dst_x0, float *dst_y0, in apply_blit_scissor() 167 if (!compute_pixels_clipped(*dst_x0, *dst_y0, *dst_x1, *dst_y1, in apply_blit_scissor() 181 * For example, if src_x0 and dst_x0 need both to be clipped we want to in apply_blit_scissor() 182 * avoid the situation where we clip src_x0 first, then adjust dst_x0 in apply_blit_scissor() 183 * accordingly but then we realize that the resulting dst_x0 still needs in apply_blit_scissor() 184 * to be clipped, so we clip dst_x0 and adjust src_x0 again. Because we are in apply_blit_scissor() 197 * from the dst rect so we should clip dst_x0 only and adjust src_x0. in apply_blit_scissor() 203 || *dst_x0 == *dst_x1 || *dst_y0 == *dst_y1) in apply_blit_scissor() 206 float scale_x = (float) (*src_x1 - *src_x0) / (*dst_x1 - *dst_x0); in apply_blit_scissor() 157 apply_blit_scissor(const struct pipe_scissor_state *scissor, float *src_x0, float *src_y0, float *src_x1, float *src_y1, float *dst_x0, float *dst_y0, float *dst_x1, float *dst_y1, bool mirror_x, bool mirror_y) apply_blit_scissor() argument 388 float dst_x0 = info->dst.box.x; iris_blit() local [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_blit.c | 156 * \param dst0 the dst rect coordinate (for example dst_x0) 198 float *dst_x0, float *dst_y0, in apply_blit_scissor() 205 if (!compute_pixels_clipped(*dst_x0, *dst_y0, *dst_x1, *dst_y1, in apply_blit_scissor() 219 * For example, if src_x0 and dst_x0 need both to be clipped we want to in apply_blit_scissor() 220 * avoid the situation where we clip src_x0 first, then adjust dst_x0 in apply_blit_scissor() 221 * accordingly but then we realize that the resulting dst_x0 still needs in apply_blit_scissor() 222 * to be clipped, so we clip dst_x0 and adjust src_x0 again. Because we are in apply_blit_scissor() 235 * from the dst rect so we should clip dst_x0 only and adjust src_x0. in apply_blit_scissor() 241 || *dst_x0 == *dst_x1 || *dst_y0 == *dst_y1) in apply_blit_scissor() 244 float scale_x = (float) (*src_x1 - *src_x0) / (*dst_x1 - *dst_x0); in apply_blit_scissor() 195 apply_blit_scissor(const struct pipe_scissor_state *scissor, float *src_x0, float *src_y0, float *src_x1, float *src_y1, float *dst_x0, float *dst_y0, float *dst_x1, float *dst_y1, bool mirror_x, bool mirror_y) apply_blit_scissor() argument 464 float dst_x0 = info->dst.box.x; crocus_blit() local [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_blit.c | 532 unsigned dst_x0 = region->dstOffsets[0].x; in blit_image() local 541 dst_box.offset.x = MIN2(dst_x0, dst_x1); in blit_image() 543 dst_box.extent.width = dst_x1 - dst_x0; in blit_image() 551 .x = dst_x0, in blit_image()
|
/third_party/mesa3d/src/intel/blorp/ |
H A D | blorp.h | 164 float dst_x0, float dst_y0,
|
H A D | blorp_genX_exec.h | 2420 unsigned dst_x0 = params->x0; in blorp_xy_block_copy_blt() 2423 dst_x0 - params->wm_inputs.coord_transform[0].offset; in blorp_xy_block_copy_blt() 2433 assert(src_x1 - src_x0 == dst_x1 - dst_x0); in blorp_xy_block_copy_blt() 2464 blt.DestinationX1 = dst_x0; in blorp_xy_block_copy_blt()
|
H A D | blorp_blit.c | 1599 * src_x - src_x0 = (dst_x - dst_x0 + 0.5) * scale in brw_blorp_setup_coord_transform() 1601 * src_x = src_x0 + (dst_x - dst_x0 + 0.5) * scale in brw_blorp_setup_coord_transform() 2524 float dst_x0, float dst_y0, in blorp_blit() 2601 .dst0 = dst_x0, in blorp_blit() 2515 blorp_blit(struct blorp_batch *batch, const struct blorp_surf *src_surf, unsigned src_level, float src_layer, enum isl_format src_format, struct isl_swizzle src_swizzle, const struct blorp_surf *dst_surf, unsigned dst_level, unsigned dst_layer, enum isl_format dst_format, struct isl_swizzle dst_swizzle, float src_x0, float src_y0, float src_x1, float src_y1, float dst_x0, float dst_y0, float dst_x1, float dst_y1, enum blorp_filter filter, bool mirror_x, bool mirror_y) blorp_blit() argument
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_blorp.c | 727 unsigned dst_x0 = region->dstOffsets[0].x; in blit_image() local 729 bool flip_x = flip_coords(&src_x0, &src_x1, &dst_x0, &dst_x1); in blit_image() 752 dst_x0, dst_y0, dst_x1, dst_y1, in blit_image()
|