Lines Matching refs:srcY0
112 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in blit_nearest() argument
123 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_nearest()
127 const GLint srcYpos = MIN2(srcY0, srcY1); in blit_nearest()
132 const GLboolean invertY = (srcY1 < srcY0) ^ (dstY1 < dstY0); in blit_nearest()
265 if (srcY0 < dstY0) { in blit_nearest()
515 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in blit_linear() argument
524 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_linear()
528 const GLint srcYpos = MIN2(srcY0, srcY1); in blit_linear()
533 const GLboolean invertY = (srcY1 < srcY0) ^ (dstY1 < dstY0); in blit_linear()
648 srcY0 = srcYpos + srcRow0; in blit_linear()
652 if (srcY0 == srcBufferY0 && srcY1 == srcBufferY1) { in blit_linear()
655 else if (srcY0 == srcBufferY1) { in blit_linear()
672 srcBufferY0 = srcY0; in blit_linear()
678 GLubyte *src0 = srcMap + srcY0 * srcRowStride + srcXpos * bpp; in blit_linear()
691 srcBufferY0 = srcY0; in blit_linear()
743 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in _swrast_BlitFramebuffer() argument
766 if (!_mesa_clip_blit(ctx, readFb, drawFb, &srcX0, &srcY0, &srcX1, &srcY1, in _swrast_BlitFramebuffer()
778 srcY1 - srcY0 == dstY1 - dstY0 && in _swrast_BlitFramebuffer()
780 srcY0 < srcY1 && in _swrast_BlitFramebuffer()
787 srcX0, srcY0, in _swrast_BlitFramebuffer()
788 srcX1 - srcX0, srcY1 - srcY0, in _swrast_BlitFramebuffer()
803 blit_nearest(ctx, readFb, drawFb, srcX0, srcY0, srcX1, srcY1, in _swrast_BlitFramebuffer()
811 blit_linear(ctx, readFb, drawFb, srcX0, srcY0, srcX1, srcY1, in _swrast_BlitFramebuffer()