diff options
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 8cbc0d66152..7ab6810209d 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -1,4 +1,4 @@ -/* $Id: teximage.h,v 1.22 2002/10/18 18:03:07 brianp Exp $ */ +/* $Id: teximage.h,v 1.23 2003/04/01 16:41:54 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -40,11 +40,11 @@ _mesa_base_tex_format( GLcontext *ctx, GLint format ); extern struct gl_texture_image * -_mesa_alloc_texture_image( void ); +_mesa_new_texture_image( GLcontext *ctx ); extern void -_mesa_free_texture_image( struct gl_texture_image *teximage ); +_mesa_delete_texture_image( struct gl_texture_image *teximage ); extern void @@ -70,6 +70,15 @@ _mesa_select_tex_image(GLcontext *ctx, const struct gl_texture_unit *texUnit, GLenum target, GLint level); +extern struct gl_texture_image * +_mesa_get_tex_image(GLcontext *ctx, const struct gl_texture_unit *texUnit, + GLenum target, GLint level); + + +extern struct gl_texture_image * +_mesa_get_proxy_tex_image(GLcontext *ctx, GLenum target, GLint level); + + extern GLint _mesa_max_texture_levels(GLcontext *ctx, GLenum target); |