aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/glformats.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/glformats.h')
-rw-r--r--mesalib/src/mesa/main/glformats.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/glformats.h b/mesalib/src/mesa/main/glformats.h
index 7b0321570..e1ecd64d5 100644
--- a/mesalib/src/mesa/main/glformats.h
+++ b/mesalib/src/mesa/main/glformats.h
@@ -35,6 +35,9 @@
extern "C" {
#endif
+extern void
+_mesa_compute_component_mapping(GLenum inFormat, GLenum outFormat, GLubyte *map);
+
extern GLboolean
_mesa_type_is_packed(GLenum type);
@@ -122,9 +125,12 @@ _mesa_es_error_check_format_and_type(GLenum format, GLenum type,
unsigned dimensions);
extern GLenum
-_mesa_es3_error_check_format_and_type(GLenum format, GLenum type,
+_mesa_es3_error_check_format_and_type(const struct gl_context *ctx,
+ GLenum format, GLenum type,
GLenum internalFormat);
+extern uint32_t
+_mesa_format_from_format_and_type(GLenum format, GLenum type);
#ifdef __cplusplus
}