Lines Matching defs:img
1709 const struct gl_texture_image *img = NULL;
1714 img = _mesa_select_tex_image(texObj, target, level);
1715 if (!img || img->TexFormat == MESA_FORMAT_NONE) {
1729 img = &dummy_image;
1732 texFormat = img->TexFormat;
1736 *params = img->Width;
1739 *params = img->Height;
1742 *params = img->Depth;
1763 _mesa_gl_compressed_format_base_format(img->InternalFormat);
1765 *params = (f != 0) ? f : img->InternalFormat;
1771 *params = img->Border;
1777 if (_mesa_base_format_has_channel(img->_BaseFormat, pname))
1786 if (_mesa_base_format_has_channel(img->_BaseFormat, pname)) {
1822 *params = _mesa_format_image_size(texFormat, img->Width,
1823 img->Height, img->Depth);
1847 if (_mesa_base_format_has_channel(img->_BaseFormat, pname))
1857 *params = img->NumSamples;
1863 *params = img->FixedSampleLocations;