summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-09-08 20:16:18 -0600
committerBrian Paul <[email protected]>2011-09-08 20:16:18 -0600
commit9a5b2899e058f3ec31a4eba5575eaa3fcfe1e3f5 (patch)
treeac73e2e8d7009e8d06c37cea6761ce8c0554734d /src/mesa/main/formats.h
parent730952aa12c257af25af0873e0b284f742fb485e (diff)
mesa: added _mesa_get_uncompressed_format(), _mesa_format_num_components()
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r--src/mesa/main/formats.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 75d93debaca..610204cb37c 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -266,4 +266,11 @@ _mesa_test_formats(void);
extern gl_format
_mesa_get_srgb_format_linear(gl_format format);
+extern gl_format
+_mesa_get_uncompressed_format(gl_format format);
+
+extern GLuint
+_mesa_format_num_components(gl_format format);
+
+
#endif /* FORMATS_H */