Home | History | Annotate | Download | only in main

Lines Matching refs:texObj

39 #include "texobj.h"
126 struct gl_texture_object *texObj,
131 const GLenum target = texObj->Target;
142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0,
152 _mesa_get_tex_image(ctx, texObj, faceTarget, level);
171 if (!_mesa_is_proxy_texture(texObj->Target)) {
173 if (!ctx->Driver.AllocTextureStorage(ctx, texObj, levels,
182 struct gl_texture_image *texImage = texObj->Image[face][level];
197 texObj->Immutable = GL_TRUE;
208 struct gl_texture_object *texObj)
210 const GLenum target = texObj->Target;
215 for (level = 0; level < Elements(texObj->Image[0]); level++) {
221 _mesa_get_tex_image(ctx, texObj, faceTarget, level);
246 struct gl_texture_object *texObj;
334 texObj = _mesa_get_current_tex_object(ctx, target);
335 if (!texObj || (texObj->Name == 0)) {
341 /* Check if texObj->Immutable is set */
342 if (texObj->Immutable) {
359 struct gl_texture_object *texObj;
365 texObj = _mesa_get_current_tex_object(ctx, target);
377 if (_mesa_is_proxy_texture(texObj->Target)) {
379 clear_image_fields(ctx, dims, texObj);
389 setup_texstorage(ctx, texObj, dims, levels, internalformat,