From 8e39ad2cd67d49be40ff0822f3269affdf83d601 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 6 Feb 2001 21:42:48 +0000 Subject: Overhaul of texture image handling. 1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet. --- src/mesa/main/teximage.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src/mesa/main/teximage.h') diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index a3baa5f304..e547a352b1 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -1,4 +1,4 @@ -/* $Id: teximage.h,v 1.15 2000/11/22 07:32:17 joukj Exp $ */ +/* $Id: teximage.h,v 1.16 2001/02/06 21:42:48 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -47,13 +47,6 @@ extern void _mesa_free_texture_image( struct gl_texture_image *teximage ); -extern GLuint -_mesa_compressed_image_size(GLcontext *ctx, - GLenum internalFormat, - GLint numDimensions, - GLint width, GLint height, GLint depth); - - extern struct gl_texture_object * _mesa_select_tex_object(GLcontext *ctx, const struct gl_texture_unit *texUnit, GLenum target); @@ -64,16 +57,6 @@ _mesa_select_tex_image(GLcontext *ctx, const struct gl_texture_unit *texUnit, GLenum target, GLint level); -extern void -_mesa_get_teximage_from_driver(GLcontext *ctx, GLenum target, GLint level, - const struct gl_texture_object *texObj); - - -extern GLboolean -_mesa_get_teximages_from_driver(GLcontext *ctx, - struct gl_texture_object *texObj); - - /*** API entry point functions ***/ -- cgit v1.2.3