Home | History | Annotate | Download | only in common

Lines Matching full:texobj

63 #include "main/texobj.h"
207 GLuint TexObj;
1189 _mesa_GenTextures(1, &tex->TexObj);
1195 if (!tex->TexObj)
1197 _mesa_DeleteTextures(1, &tex->TexObj);
1198 tex->TexObj = 0;
1211 if (!tex->TexObj) {
1229 if (!tex->TexObj) {
1306 _mesa_BindTexture(tex->Target, tex->TexObj);
1349 _mesa_BindTexture(tex->Target, tex->TexObj);
1443 const struct gl_texture_object *texObj = readAtt->Texture;
1445 const GLint baseLevelSave = texObj->BaseLevel;
1446 const GLint maxLevelSave = texObj->MaxLevel;
1448 const GLenum target = texObj->Target;
1472 printf(" srcTex %p dstText %p\n", texObj, drawAtt->Texture);
1476 _mesa_BindTexture(target, texObj->Name);
1509 = _mesa_select_tex_image(ctx, texObj, target, srcLevel);
2780 struct gl_texture_object *texObj)
2796 srcLevel = texObj->BaseLevel;
2797 baseImage = _mesa_select_tex_image(ctx, texObj, target, srcLevel);
2821 target, texObj->Name, srcLevel);
2829 target, texObj->Name, srcLevel, zoffset);
2836 target, texObj->Name, srcLevel);
3234 struct gl_texture_object *texObj)
3241 const GLuint baseLevel = texObj->BaseLevel;
3242 const GLuint maxLevel = texObj->MaxLevel;
3243 const GLint maxLevelSave = texObj->MaxLevel;
3244 const GLboolean genMipmapSave = texObj->GenerateMipmap;
3256 if (_mesa_meta_check_generate_mipmap_fallback(ctx, target, texObj)) {
3257 _mesa_generate_mipmap(ctx, target, texObj);
3291 _mesa_BindTexture(target, texObj->Name);
3359 _mesa_unlock_texture(ctx, texObj);
3368 srcImage = _mesa_select_tex_image(ctx, texObj, faceTarget, srcLevel);
3393 if (!_mesa_prepare_mipmap_level(ctx, texObj, dstLevel,
3412 texObj->Name,
3420 texObj->Name,
3428 texObj->Name,
3455 _mesa_lock_texture(ctx, texObj); /* relock */
3523 struct gl_texture_object *texObj = texImage->TexObject;
3559 _mesa_unlock_texture(ctx, texObj); /* need to unlock first */
3582 _mesa_lock_texture(ctx, texObj); /* re-lock */
3605 struct gl_texture_object *texObj = texImage->TexObject;
3608 const GLenum target = texObj->Target;
3723 _mesa_BindTexture(target, texObj->Name);
3728 const GLint baseLevelSave = texObj->BaseLevel;
3729 const GLint maxLevelSave = texObj->MaxLevel;
3825 struct gl_texture_object *texObj = texImage->TexObject;
3828 _mesa_unlock_texture(ctx, texObj);
3831 _mesa_lock_texture(ctx, texObj);
3920 const struct gl_texture_object *texObj;
3934 texObj = ctx->Texture.Unit[i]._Current;
3935 texImage = texObj->Image[0][texObj->BaseLevel];
3939 s = (GLfloat) texObj->CropRect[0] / tw;
3940 t = (GLfloat) texObj->CropRect[1] / th;
3941 s1 = (GLfloat) (texObj->CropRect[0] + texObj->CropRect[2]) / tw;
3942 t1 = (GLfloat) (texObj->CropRect[1] + texObj->CropRect[3]) / th;