Lines Matching refs:texObj
248 _swrast_map_texture(struct gl_context *ctx, struct gl_texture_object *texObj) in _swrast_map_texture() argument
250 const GLuint faces = _mesa_num_tex_faces(texObj->Target); in _swrast_map_texture()
254 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { in _swrast_map_texture()
255 struct gl_texture_image *texImage = texObj->Image[face][level]; in _swrast_map_texture()
269 _swrast_unmap_texture(struct gl_context *ctx, struct gl_texture_object *texObj) in _swrast_unmap_texture() argument
271 const GLuint faces = _mesa_num_tex_faces(texObj->Target); in _swrast_unmap_texture()
275 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { in _swrast_unmap_texture()
276 struct gl_texture_image *texImage = texObj->Image[face][level]; in _swrast_unmap_texture()
300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; in _swrast_map_textures() local
302 _swrast_map_texture(ctx, texObj); in _swrast_map_textures()
320 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; in _swrast_unmap_textures() local
322 _swrast_unmap_texture(ctx, texObj); in _swrast_unmap_textures()
335 struct gl_texture_object *texObj, in _swrast_AllocTextureStorage() argument
339 const GLint numFaces = (texObj->Target == GL_TEXTURE_CUBE_MAP) ? 6 : 1; in _swrast_AllocTextureStorage()
344 struct gl_texture_image *texImage = texObj->Image[face][level]; in _swrast_AllocTextureStorage()