summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glformats.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-11-28 19:07:18 +0100
committerMarek Olšák <[email protected]>2012-11-29 20:31:41 +0100
commit135fe907a016ec20b6779f6b3a657563e89c1081 (patch)
tree883a49d3c352e55c6d1afa2a83ff3fd05b71ea88 /src/mesa/main/glformats.h
parent0fda2e9147d646ea012b33c870e45d680ec56f22 (diff)
mesa: move some helper functions from fboobject.c to glformats.c
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.h')
-rw-r--r--src/mesa/main/glformats.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h
index e5b63a9636d..5d099514010 100644
--- a/src/mesa/main/glformats.h
+++ b/src/mesa/main/glformats.h
@@ -95,6 +95,12 @@ extern GLenum
_mesa_generic_compressed_format_to_uncompressed_format(GLenum format);
extern GLenum
+_mesa_get_nongeneric_internalformat(GLenum format);
+
+extern GLenum
+_mesa_get_linear_internalformat(GLenum format);
+
+extern GLenum
_mesa_error_check_format_and_type(const struct gl_context *ctx,
GLenum format, GLenum type);