From e4276667dafc8de0c6e64af8300fc7598437de6e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 15 Jun 2001 14:18:46 +0000 Subject: Enable GL_ARB_texture_compression for XMesa/GLX driver. Texture compression isn't really implmented. Just updated glTexImageXD() to accept compressed internal format tokens. --- src/mesa/main/texformat.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/texformat.h') diff --git a/src/mesa/main/texformat.h b/src/mesa/main/texformat.h index ac6dbc0cb7..1360c9ee1c 100644 --- a/src/mesa/main/texformat.h +++ b/src/mesa/main/texformat.h @@ -1,4 +1,4 @@ -/* $Id: texformat.h,v 1.6 2001/04/04 21:54:21 brianp Exp $ */ +/* $Id: texformat.h,v 1.7 2001/06/15 14:18:46 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -90,6 +90,13 @@ extern const struct gl_texture_format * _mesa_choose_tex_format( GLcontext *ctx, GLint internalFormat, GLenum format, GLenum type ); +extern GLint +_mesa_base_compressed_texformat(GLcontext *ctx, GLint intFormat); + +extern GLint +_mesa_compressed_texture_size(GLcontext *ctx, + const struct gl_texture_image *texImage); + /* The default formats, GLchan per component: */ -- cgit v1.2.3