Lines Matching refs:srcX0
620 const GLint srcX0 = *srcX, srcY0 = *srcY; in _mesa_clip_copytexsubimage() local
624 *destX = *destX + *srcX - srcX0; in _mesa_clip_copytexsubimage()
681 clip_right_or_top(GLint *srcX0, GLint *srcX1, in clip_right_or_top() argument
694 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; in clip_right_or_top()
695 *srcX1 = *srcX0 + (GLint) (t * (*srcX1 - *srcX0) + bias); in clip_right_or_top()
704 bias = (*srcX0 < *srcX1) ? -0.5F : 0.5F; in clip_right_or_top()
705 *srcX0 = *srcX1 + (GLint) (t * (*srcX0 - *srcX1) + bias); in clip_right_or_top()
714 clip_left_or_bottom(GLint *srcX0, GLint *srcX1, in clip_left_or_bottom() argument
727 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; in clip_left_or_bottom()
728 *srcX0 = *srcX0 + (GLint) (t * (*srcX1 - *srcX0) + bias); in clip_left_or_bottom()
737 bias = (*srcX0 < *srcX1) ? -0.5F : 0.5F; in clip_left_or_bottom()
738 *srcX1 = *srcX1 + (GLint) (t * (*srcX0 - *srcX1) + bias); in clip_left_or_bottom()
760 GLint *srcX0, GLint *srcY0, GLint *srcX1, GLint *srcY1, in _mesa_clip_blit() argument
796 if (*srcX0 == *srcX1) in _mesa_clip_blit()
798 if (*srcX0 <= srcXmin && *srcX1 <= srcXmin) in _mesa_clip_blit()
800 if (*srcX0 >= srcXmax && *srcX1 >= srcXmax) in _mesa_clip_blit()
813 clip_right_or_top(srcX0, srcX1, dstX0, dstX1, dstXmax); in _mesa_clip_blit()
815 clip_left_or_bottom(srcX0, srcX1, dstX0, dstX1, dstXmin); in _mesa_clip_blit()
821 clip_right_or_top(dstX0, dstX1, srcX0, srcX1, srcXmax); in _mesa_clip_blit()
823 clip_left_or_bottom(dstX0, dstX1, srcX0, srcX1, srcXmin); in _mesa_clip_blit()
843 assert(*srcX0 >= srcXmin); in _mesa_clip_blit()
844 assert(*srcX0 <= srcXmax); in _mesa_clip_blit()