Lines Matching refs:destImage
1150 const struct gl_texture_image *destImage, in error_check_subtexture_dimensions() argument
1155 const GLenum target = destImage->TexObject->Target; in error_check_subtexture_dimensions()
1159 if (xoffset < - (GLint) destImage->Border) { in error_check_subtexture_dimensions()
1164 if (xoffset + subWidth > (GLint) destImage->Width) { in error_check_subtexture_dimensions()
1166 xoffset, subWidth, destImage->Width); in error_check_subtexture_dimensions()
1172 GLint yBorder = (target == GL_TEXTURE_1D_ARRAY) ? 0 : destImage->Border; in error_check_subtexture_dimensions()
1177 if (yoffset + subHeight > (GLint) destImage->Height) { in error_check_subtexture_dimensions()
1179 func, yoffset, subHeight, destImage->Height); in error_check_subtexture_dimensions()
1189 0 : destImage->Border; in error_check_subtexture_dimensions()
1196 depth = (GLint) destImage->Depth; in error_check_subtexture_dimensions()
1213 _mesa_get_format_block_size_3d(destImage->TexFormat, &bw, &bh, &bd); in error_check_subtexture_dimensions()
1230 (xoffset + subWidth != (GLint) destImage->Width)) { in error_check_subtexture_dimensions()
1237 (yoffset + subHeight != (GLint) destImage->Height)) { in error_check_subtexture_dimensions()
1244 (zoffset + subDepth != (GLint) destImage->Depth)) { in error_check_subtexture_dimensions()