aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/texpal.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/texpal.h')
-rw-r--r--mesalib/src/mesa/main/texpal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/texpal.h b/mesalib/src/mesa/main/texpal.h
index eeff5a9e2..acfaa313e 100644
--- a/mesalib/src/mesa/main/texpal.h
+++ b/mesalib/src/mesa/main/texpal.h
@@ -34,5 +34,12 @@ _mesa_cpal_compressed_teximage2d(GLenum target, GLint level,
GLsizei width, GLsizei height,
GLsizei imageSize, const void *palette);
+extern unsigned
+_mesa_cpal_compressed_size(int level, GLenum internalFormat,
+ unsigned width, unsigned height);
+
+extern void
+_mesa_cpal_compressed_format_type(GLenum internalFormat, GLenum *format,
+ GLenum *type);
#endif /* TEXPAL_H */