Lines Matching full:texobj
49 #include "texobj.h"
332 struct gl_texture_object *texObj,
335 if (att->Texture == texObj) {
348 _mesa_reference_texobj(&att->Texture, texObj);
537 const struct gl_texture_object *texObj = att->Texture;
541 if (!texObj) {
542 att_incomplete("no texobj");
547 texImage = texObj->Image[att->CubeMapFace][att->TextureLevel];
555 printf("texobj = %u\n", texObj->Name);
560 if (texObj->Target == GL_TEXTURE_3D && att->Zoffset >= texImage->Depth) {
2000 struct gl_texture_object *texObj = NULL;
2026 texObj = _mesa_lookup_texture(ctx, texture);
2027 if (texObj != NULL) {
2034 err = (texObj->Target != GL_TEXTURE_3D) &&
2035 (texObj->Target != GL_TEXTURE_1D_ARRAY_EXT) &&
2036 (texObj->Target != GL_TEXTURE_2D_ARRAY_EXT);
2040 err = (texObj->Target == GL_TEXTURE_CUBE_MAP)
2042 : (texObj->Target != textarget);
2060 if (texObj->Target == GL_TEXTURE_3D) {
2068 else if ((texObj->Target == GL_TEXTURE_1D_ARRAY_EXT) ||
2069 (texObj->Target == GL_TEXTURE_2D_ARRAY_EXT)) {
2077 maxLevelsTarget = textarget ? textarget : texObj->Target;
2096 if (texObj) {
2098 texObj == fb->Attachment[BUFFER_STENCIL].Texture &&
2111 texObj == fb->Attachment[BUFFER_DEPTH].Texture &&
2120 _mesa_set_texture_attachment(ctx, fb, att, texObj, textarget,
2141 texObj->_RenderToTexture = GL_TRUE;
2586 struct gl_texture_object *texObj;
2624 texObj = _mesa_get_current_tex_object(ctx, target);
2626 if (texObj->BaseLevel >= texObj->MaxLevel) {
2631 if (texObj->Target == GL_TEXTURE_CUBE_MAP &&
2632 !_mesa_cube_complete(texObj)) {
2638 _mesa_lock_texture(ctx, texObj);
2640 srcImage = _mesa_select_tex_image(ctx, texObj, target, texObj->BaseLevel);
2642 _mesa_unlock_texture(ctx, texObj);
2651 _mesa_unlock_texture(ctx, texObj);
2662 texObj);
2665 texObj);
2667 _mesa_unlock_texture(ctx, texObj);