Lines Matching refs:srcX
677 GLint *srcX, GLint *srcY, in _mesa_clip_readpixels() argument
700 if (*srcX < 0) { in _mesa_clip_readpixels()
701 pack->SkipPixels += (0 - *srcX); in _mesa_clip_readpixels()
702 *width -= (0 - *srcX); in _mesa_clip_readpixels()
703 *srcX = 0; in _mesa_clip_readpixels()
706 if (*srcX + *width > clip_width) in _mesa_clip_readpixels()
707 *width -= (*srcX + *width - clip_width); in _mesa_clip_readpixels()
740 GLint *srcX, GLint *srcY, in _mesa_clip_copytexsubimage() argument
744 const GLint srcX0 = *srcX, srcY0 = *srcY; in _mesa_clip_copytexsubimage()
747 srcX, srcY, width, height)) { in _mesa_clip_copytexsubimage()
748 *destX = *destX + *srcX - srcX0; in _mesa_clip_copytexsubimage()