Lines Matching refs:texObj

112                         struct gl_texture_object *texObj, GLenum target,
120 if (texObj->BaseLevel >= texObj->MaxLevel) {
125 if (!no_error && texObj->Target == GL_TEXTURE_CUBE_MAP &&
126 !_mesa_cube_complete(texObj)) {
132 _mesa_lock_texture(ctx, texObj);
134 srcImage = _mesa_select_tex_image(texObj, target, texObj->BaseLevel);
137 _mesa_unlock_texture(ctx, texObj);
145 _mesa_unlock_texture(ctx, texObj);
154 _mesa_unlock_texture(ctx, texObj);
162 GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, texObj);
166 ctx->Driver.GenerateMipmap(ctx, target, texObj);
168 _mesa_unlock_texture(ctx, texObj);
173 struct gl_texture_object *texObj, GLenum target,
176 generate_texture_mipmap(ctx, texObj, target, dsa, false);
181 struct gl_texture_object *texObj,
184 generate_texture_mipmap(ctx, texObj, target, dsa, true);
197 struct gl_texture_object *texObj = _mesa_get_current_tex_object(ctx, target);
198 generate_texture_mipmap_no_error(ctx, texObj, target, false);
204 struct gl_texture_object *texObj;
213 texObj = _mesa_get_current_tex_object(ctx, target);
214 if (!texObj)
217 generate_texture_mipmap_error(ctx, texObj, target, false);
228 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, texture);
229 generate_texture_mipmap_no_error(ctx, texObj, texObj->Target, true);
235 struct gl_texture_object *texObj;
238 texObj = _mesa_lookup_texture_err(ctx, texture, "glGenerateTextureMipmap");
239 if (!texObj)
242 if (!_mesa_is_valid_generate_texture_mipmap_target(ctx, texObj->Target)) {
244 _mesa_enum_to_string(texObj->Target));
248 generate_texture_mipmap_error(ctx, texObj, texObj->Target, true);