Lines Matching refs:destImage
1171 const struct gl_texture_image *destImage, in error_check_subtexture_dimensions() argument
1176 const GLenum target = destImage->TexObject->Target; in error_check_subtexture_dimensions()
1180 if (xoffset < - (GLint) destImage->Border) { in error_check_subtexture_dimensions()
1185 if (xoffset + subWidth > (GLint) destImage->Width) { in error_check_subtexture_dimensions()
1187 xoffset, subWidth, destImage->Width); in error_check_subtexture_dimensions()
1193 GLint yBorder = (target == GL_TEXTURE_1D_ARRAY) ? 0 : destImage->Border; in error_check_subtexture_dimensions()
1198 if (yoffset + subHeight > (GLint) destImage->Height) { in error_check_subtexture_dimensions()
1200 func, yoffset, subHeight, destImage->Height); in error_check_subtexture_dimensions()
1210 0 : destImage->Border; in error_check_subtexture_dimensions()
1217 depth = (GLint) destImage->Depth; in error_check_subtexture_dimensions()
1234 _mesa_get_format_block_size_3d(destImage->TexFormat, &bw, &bh, &bd); in error_check_subtexture_dimensions()
1251 (xoffset + subWidth != (GLint) destImage->Width)) { in error_check_subtexture_dimensions()
1258 (yoffset + subHeight != (GLint) destImage->Height)) { in error_check_subtexture_dimensions()
1265 (zoffset + subDepth != (GLint) destImage->Depth)) { in error_check_subtexture_dimensions()