summaryrefslogtreecommitdiff
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-01 15:59:13 -0600
committerBrian Paul <brianp@vmware.com>2009-10-01 15:59:13 -0600
commit1c7ec97ec47f294dcfc0c6a87ee26bb3565f95d4 (patch)
treee4630b2160c82a7071d25282b25d20282d2586c5 /src/mesa/main/formats.h
parent8c36ca707ca8879d6f888de7733ffb6b04ddc48a (diff)
mesa: added _mesa_format_image_size()
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r--src/mesa/main/formats.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 99a6534ff1..b91682809f 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -202,6 +202,10 @@ extern void
_mesa_format_to_type_and_comps2(gl_format format,
GLenum *datatype, GLuint *comps);
+extern GLuint
+_mesa_format_image_size(gl_format format, GLsizei width,
+ GLsizei height, GLsizei depth);
+
extern void
_mesa_test_formats(void);