Lines Matching refs:texImage
41 #include "main/teximage.h"
53 struct gl_texture_image *texImage);
57 struct gl_texture_image *texImage);
215 struct gl_texture_image *texImage,
223 radeon_texture_image *image = get_radeon_texture_image(texImage);
225 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat);
226 GLuint width = texImage->Width;
227 GLuint height = texImage->Height;
232 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh);
248 *stride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0, texImage->TexObject->Target);
252 radeon_mipmap_level *lvl = &image->mt->levels[texImage->Level];
264 *stride = _mesa_format_row_stride(texImage->TexFormat, width);
273 struct gl_texture_image *texImage, GLuint slice)
275 radeon_texture_image *image = get_radeon_texture_image(texImage);
548 struct gl_texture_image *texImage)
551 radeon_texture_image* image = get_radeon_texture_image(texImage);
554 if (!t->mt || !radeon_miptree_matches_image(t->mt, texImage)) {
558 texImage);
561 "%s: texObj %p, texImage %p, "
563 __FUNCTION__, texObj, texImage, t->mt);
594 struct gl_texture_image *texImage,
599 radeon_texture_image *radeonImage = get_radeon_texture_image(texImage);
609 radeonFreeTextureImageBuffer(ctx, texImage);
611 texImage->Width = image->width;
612 texImage->Height = image->height;
613 texImage->Depth = 1;
614 texImage->_BaseFormat = GL_RGBA;
615 texImage->TexFormat = image->format;
617 texImage->InternalFormat = image->internal_format;
784 struct gl_texture_image *texImage)
792 width = texImage->Width;
793 height = texImage->Height;
794 depth = texImage->Depth;
796 if (texImage->Level > texObj->BaseLevel &&
805 firstLevel = texImage->Level;
806 lastLevel = texImage->Level;
808 if (texImage->Level < texObj->BaseLevel)
813 for (i = texImage->Level; i > firstLevel; i--) {
822 texImage->Level == firstLevel) {
830 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1,