Home | History | Annotate | Download | only in common

Lines Matching refs:TexObj

71 #include "main/texobj.h"
115 struct gl_texture_object *texObj = texImage->TexObject;
117 const GLenum texTarget = texObj->Target == GL_TEXTURE_CUBE_MAP
119 : texObj->Target;
121 _mesa_framebuffer_texture(ctx, fb, attachment, texObj, texTarget,
1240 _mesa_GenTextures(1, &tex->TexObj);
1246 if (!tex->TexObj)
1248 _mesa_DeleteTextures(1, &tex->TexObj);
1249 tex->TexObj = 0;
1262 if (!tex->TexObj) {
1280 if (!tex->TexObj) {
1296 if (!tex->TexObj) {
1375 _mesa_BindTexture(tex->Target, tex->TexObj);
1419 _mesa_BindTexture(tex->Target, tex->TexObj);
2995 struct gl_texture_object *texObj = texImage->TexObject;
2996 const GLenum target = texObj->Target;
3156 _mesa_BindTexture(target, texObj->Name);
3163 const GLint baseLevelSave = texObj->BaseLevel;
3164 const GLint maxLevelSave = texObj->MaxLevel;
3168 _mesa_texture_parameteriv(ctx, texObj, GL_TEXTURE_BASE_LEVEL,
3170 _mesa_texture_parameteriv(ctx, texObj, GL_TEXTURE_MAX_LEVEL,
3181 _mesa_texture_parameteriv(ctx, texObj, GL_TEXTURE_BASE_LEVEL,
3183 _mesa_texture_parameteriv(ctx, texObj, GL_TEXTURE_MAX_LEVEL,
3382 const struct gl_texture_object *texObj;
3396 texObj = ctx->Texture.Unit[i]._Current;
3397 texImage = texObj->Image[0][texObj->BaseLevel];
3401 s = (GLfloat) texObj->CropRect[0] / tw;
3402 t = (GLfloat) texObj->CropRect[1] / th;
3403 s1 = (GLfloat) (texObj->CropRect[0] + texObj->CropRect[2]) / tw;
3404 t1 = (GLfloat) (texObj->CropRect[1] + texObj->CropRect[3]) / th;