summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-04-27 13:39:20 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-04-27 13:39:20 +0000
commit8f04c12e0ad876baa7eb9ed379e2b00150b376e0 (patch)
tree2d30ddd41662329fd0041dc530bce31945775813 /src/mesa/main/texcompress.h
parent186d4d8cf4bd99c46b388e6ea0c60ec1d039be07 (diff)
downloadexternal_mesa3d-8f04c12e0ad876baa7eb9ed379e2b00150b376e0.zip
external_mesa3d-8f04c12e0ad876baa7eb9ed379e2b00150b376e0.tar.gz
external_mesa3d-8f04c12e0ad876baa7eb9ed379e2b00150b376e0.tar.bz2
Removed the old teximage code.
Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
Diffstat (limited to 'src/mesa/main/texcompress.h')
-rw-r--r--src/mesa/main/texcompress.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mesa/main/texcompress.h b/src/mesa/main/texcompress.h
index 457c1d7..5007414 100644
--- a/src/mesa/main/texcompress.h
+++ b/src/mesa/main/texcompress.h
@@ -1,9 +1,8 @@
-
/*
* Mesa 3-D graphics library
- * Version: 4.1
+ * Version: 6.1
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -48,11 +47,13 @@ _mesa_compressed_image_address(GLint col, GLint row, GLint img,
extern void
-_mesa_compress_teximage( GLcontext *ctx, GLsizei width, GLsizei height,
- GLenum srcFormat, const GLchan *source,
- GLint srcRowStride,
- const struct gl_texture_format *dstFormat,
- GLubyte *dest, GLint dstRowStride );
+_mesa_init_texture_s3tc( GLcontext *ctx );
+
+extern void
+_mesa_init_texture_fxt1( GLcontext *ctx );
+
+
+
#else
#define _mesa_get_compressed_formats( c, f ) 0
#define _mesa_compressed_texture_size( c, w, h, d, f ) 0