Lines Matching defs:texObj
39 #include "texobj.h"
406 const struct gl_texture_object *texObj = texUnit->_Current;
407 GLenum format = texObj->Image[0][texObj->BaseLevel]->_BaseFormat;
410 format = texObj->DepthMode;
575 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex];
577 texUnit->Sampler : &texObj->Sampler;
579 if (!_mesa_is_texture_complete(texObj, sampler)) {
580 _mesa_test_texobj_completeness(ctx, texObj);
582 if (_mesa_is_texture_complete(texObj, sampler)) {
584 _mesa_reference_texobj(&texUnit->_Current, texObj);
596 struct gl_texture_object *texObj;
602 texObj = _mesa_get_fallback_texture(ctx, texTarget);
604 assert(texObj);
605 if (!texObj) {
610 _mesa_reference_texobj(&texUnit->_Current, texObj);