Lines Matching defs:img
825 const struct gl_texture_image *img = t->Image[face][i];
827 if (!img) {
831 if (img->InternalFormat != baseImage->InternalFormat) {
835 if (img->Border != baseImage->Border) {
839 if (img->Width2 != width) {
841 img->Width2);
844 if (img->Height2 != height) {
846 img->Height2);
849 if (img->Depth2 != depth) {
851 img->Depth2);
869 const struct gl_texture_image *img0, *img;
887 img = texObj->Image[face][level];
888 if (!img ||
889 img->Width != img0->Width ||
890 img->Height != img0->Height ||
891 img->TexFormat != img0->TexFormat)
1068 const struct gl_texture_image *img = texObj->Image[face][level];
1069 if (img) {
1070 GLuint sz = _mesa_format_image_size(img->TexFormat, img->Width,
1071 img->Height, img->Depth);