summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorAntia Puentes <[email protected]>2015-11-15 21:31:36 +0100
committerEduardo Lima Mitev <[email protected]>2016-03-03 15:14:06 +0100
commitaaf5ad513b790a2d0f97dd757ff69ea78c375529 (patch)
treeff6c6d20a624d6b40786373646fbc16c83726887 /src/mesa/main/teximage.h
parent5eef3558231854f52059e1745b2f2a0cfdc816a4 (diff)
mesa/teximage: Make _mesa_format_no_online_compression public
It will be used by the ARB_internalformat_query2 implementation to check if a certain compressed 'internalformat' is supported by texture 'targets'. Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index b3829aa56a5..41f145c4cc8 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -214,6 +214,9 @@ _mesa_legal_texture_base_format_for_target(struct gl_context *ctx,
unsigned dimensions,
const char *caller);
+bool
+_mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format);
+
GLboolean
_mesa_is_renderable_texture_format(struct gl_context *ctx, GLenum internalformat);