• Home
  • Raw
  • Download

Lines Matching refs:srcX0

744    const GLint srcX0 = *srcX, srcY0 = *srcY;  in _mesa_clip_copytexsubimage()  local
748 *destX = *destX + *srcX - srcX0; in _mesa_clip_copytexsubimage()
805 clip_right_or_top(GLint *srcX0, GLint *srcX1, in clip_right_or_top() argument
818 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; in clip_right_or_top()
819 *srcX1 = *srcX0 + (GLint) (t * (*srcX1 - *srcX0) + bias); in clip_right_or_top()
828 bias = (*srcX0 < *srcX1) ? -0.5F : 0.5F; in clip_right_or_top()
829 *srcX0 = *srcX1 + (GLint) (t * (*srcX0 - *srcX1) + bias); in clip_right_or_top()
838 clip_left_or_bottom(GLint *srcX0, GLint *srcX1, in clip_left_or_bottom() argument
851 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; in clip_left_or_bottom()
852 *srcX0 = *srcX0 + (GLint) (t * (*srcX1 - *srcX0) + bias); in clip_left_or_bottom()
861 bias = (*srcX0 < *srcX1) ? -0.5F : 0.5F; in clip_left_or_bottom()
862 *srcX1 = *srcX1 + (GLint) (t * (*srcX0 - *srcX1) + bias); in clip_left_or_bottom()
884 GLint *srcX0, GLint *srcY0, GLint *srcX1, GLint *srcY1, in _mesa_clip_blit() argument
920 if (*srcX0 == *srcX1) in _mesa_clip_blit()
922 if (*srcX0 <= srcXmin && *srcX1 <= srcXmin) in _mesa_clip_blit()
924 if (*srcX0 >= srcXmax && *srcX1 >= srcXmax) in _mesa_clip_blit()
937 clip_right_or_top(srcX0, srcX1, dstX0, dstX1, dstXmax); in _mesa_clip_blit()
939 clip_left_or_bottom(srcX0, srcX1, dstX0, dstX1, dstXmin); in _mesa_clip_blit()
945 clip_right_or_top(dstX0, dstX1, srcX0, srcX1, srcXmax); in _mesa_clip_blit()
947 clip_left_or_bottom(dstX0, dstX1, srcX0, srcX1, srcXmin); in _mesa_clip_blit()
967 assert(*srcX0 >= srcXmin); in _mesa_clip_blit()
968 assert(*srcX0 <= srcXmax); in _mesa_clip_blit()