Home
last modified time | relevance | path

Searched refs:src_x0 (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/iris/
Diris_blit.c157 float *src_x0, float *src_y0, in apply_blit_scissor() argument
201 if (*src_x0 == *src_x1 || *src_y0 == *src_y1 in apply_blit_scissor()
205 float scale_x = (float) (*src_x1 - *src_x0) / (*dst_x1 - *dst_x0); in apply_blit_scissor()
209 clip_coordinates(mirror_x, src_x0, dst_x0, dst_x1, in apply_blit_scissor()
227 return *src_x0 == *src_x1 || *src_y0 == *src_y1 in apply_blit_scissor()
367 float src_x0 = info->src.box.x; in iris_blit() local
375 bool mirror_x = apply_mirror(&src_x0, &src_x1); in iris_blit()
381 &src_x0, &src_y0, &src_x1, &src_y1, in iris_blit()
516 src_x0, src_y0, src_x1, src_y1, in iris_blit()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blit.c196 float *src_x0, float *src_y0, in apply_blit_scissor() argument
240 if (*src_x0 == *src_x1 || *src_y0 == *src_y1 in apply_blit_scissor()
244 float scale_x = (float) (*src_x1 - *src_x0) / (*dst_x1 - *dst_x0); in apply_blit_scissor()
248 clip_coordinates(mirror_x, src_x0, dst_x0, dst_x1, in apply_blit_scissor()
266 return *src_x0 == *src_x1 || *src_y0 == *src_y1 in apply_blit_scissor()
459 float src_x0 = info->src.box.x; in crocus_blit() local
467 bool mirror_x = apply_mirror(&src_x0, &src_x1); in crocus_blit()
473 &src_x0, &src_y0, &src_x1, &src_y1, in crocus_blit()
621 src_x0, src_y0, src_x1, src_y1, in crocus_blit()
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_surface.c660 double src_x0, src_y0, src_x1, src_y1; in SDL_UpperBlitScaled() local
712 src_x0 = 0; in SDL_UpperBlitScaled()
717 src_x0 = srcrect->x; in SDL_UpperBlitScaled()
719 src_x1 = src_x0 + src_w - 1; in SDL_UpperBlitScaled()
724 if (src_x0 < 0) { in SDL_UpperBlitScaled()
725 dst_x0 -= src_x0 * scaling_w; in SDL_UpperBlitScaled()
726 src_x0 = 0; in SDL_UpperBlitScaled()
754 src_x0 -= dst_x0 / scaling_w; in SDL_UpperBlitScaled()
779 final_src.x = (int)SDL_floor(src_x0 + 0.5); in SDL_UpperBlitScaled()
781 final_src.w = (int)SDL_floor(src_x1 - src_x0 + 1.5); in SDL_UpperBlitScaled()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_sse.h647 uint16_t src_x0; in util_sse2_stretch_row_8unorm() local
659 src_x0 = src_x >> 16; in util_sse2_stretch_row_8unorm()
673 __m128i src_00_10 = _mm_loadl_epi64((const __m128i *)&src[src_x0]); in util_sse2_stretch_row_8unorm()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp.h45 float src_x0, float src_y0,
Dbrw_blorp.c280 float src_x0, float src_y0, in brw_blorp_blit_miptrees() argument
293 src_level, src_layer, src_x0, src_y0, src_x1, src_y1, in brw_blorp_blit_miptrees()
328 if (fabsf(dst_x1 - dst_x0) == fabsf(src_x1 - src_x0) && in brw_blorp_blit_miptrees()
428 src_x0, src_y0, src_x1, src_y1, in brw_blorp_blit_miptrees()
/third_party/mesa3d/src/intel/blorp/
Dblorp.h146 float src_x0, float src_y0,
Dblorp_blit.c2444 float src_x0, float src_y0, in blorp_blit() argument
2515 .src0 = src_x0, in blorp_blit()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_linear.c214 float src_x0 = samp->fsrc_x; in fetch_row_clamped() local
220 row[i] = src_row[CLAMP(util_iround(src_x0 + i*scale_x),0,texture->width-1)]; in fetch_row_clamped()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c543 unsigned src_x0 = region->srcOffsets[0].x; in blit_image() local
573 src_x0, in blit_image()
/third_party/mesa3d/src/intel/vulkan/
Danv_blorp.c756 unsigned src_x0 = region->srcOffsets[0].x; in blit_image() local
760 bool flip_x = flip_coords(&src_x0, &src_x1, &dst_x0, &dst_x1); in blit_image()
782 src_x0, src_y0, src_x1, src_y1, in blit_image()