Lines Matching defs:texobj
42 #include "main/texobj.h"
52 struct gl_texture_object *texObj,
56 struct gl_texture_object *texObj,
110 struct gl_texture_object *texobj = timage->TexObject;
115 switch (texobj->Target) {
124 teximage_assign_miptree(rmesa, texobj, timage);
547 struct gl_texture_object *texObj,
550 radeonTexObj *t = radeon_tex_obj(texObj);
557 texObj,
561 "%s: texObj %p, texImage %p, "
562 "texObj miptree doesn't match, allocated new miptree %p\n",
563 __FUNCTION__, texObj, texImage, t->mt);
593 struct gl_texture_object *texObj,
598 radeonTexObj *t = radeon_tex_obj(texObj);
751 struct gl_texture_object *texObj)
754 GLuint nr_faces = _mesa_num_tex_faces(texObj->Target);
757 for (i = texObj->BaseLevel; i <= texObj->_MaxLevel; i++) {
759 radeon_texture_image *image = get_radeon_texture_image(texObj->Image[face][i]);
767 struct gl_texture_object *texObj)
770 GLuint nr_faces = _mesa_num_tex_faces(texObj->Target);
773 for (i = texObj->BaseLevel; i <= texObj->_MaxLevel; i++) {
775 radeon_texture_image *image = get_radeon_texture_image(texObj->Image[face][i]);
783 struct gl_texture_object *texObj,
786 radeonTexObj *t = radeon_tex_obj(texObj);
796 if (texImage->Level > texObj->BaseLevel &&
798 (texObj->Target != GL_TEXTURE_1D && height == 1) ||
799 (texObj->Target == GL_TEXTURE_3D && depth == 1))) {
808 if (texImage->Level < texObj->BaseLevel)
811 firstLevel = texObj->BaseLevel;
820 if ((texObj->Sampler.MinFilter == GL_NEAREST ||
821 texObj->Sampler.MinFilter == GL_LINEAR) &&
829 return radeon_miptree_create(rmesa, texObj->Target,