Lines Matching refs:texObj
276 write_texture_image(struct gl_texture_object *texObj, in write_texture_image() argument
279 struct gl_texture_image *img = texObj->Image[face][level]; in write_texture_image()
295 _mesa_snprintf(s, sizeof(s), "/tmp/tex%u.l%u.f%u.ppm", texObj->Name, level, face); in write_texture_image()
363 dump_texture(struct gl_texture_object *texObj, GLuint writeImages) in dump_texture() argument
365 const GLuint numFaces = texObj->Target == GL_TEXTURE_CUBE_MAP ? 6 : 1; in dump_texture()
369 printf("Texture %u\n", texObj->Name); in dump_texture()
370 printf(" Target %s\n", tex_target_name(texObj->Target)); in dump_texture()
373 struct gl_texture_image *texImg = texObj->Image[j][i]; in dump_texture()
381 write_texture_image(texObj, j, i); in dump_texture()
397 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, texture); in _mesa_dump_texture() local
398 if (texObj) { in _mesa_dump_texture()
399 dump_texture(texObj, writeImages); in _mesa_dump_texture()
407 struct gl_texture_object *texObj = (struct gl_texture_object *) data; in dump_texture_cb() local
409 dump_texture(texObj, WriteImages); in dump_texture_cb()