diff options
Diffstat (limited to 'src/mesa/main/glformats.h')
-rw-r--r-- | src/mesa/main/glformats.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h index d67ad54c00f..075b07faa0e 100644 --- a/src/mesa/main/glformats.h +++ b/src/mesa/main/glformats.h @@ -46,6 +46,30 @@ _mesa_is_enum_format_integer(GLenum format); extern GLboolean _mesa_is_enum_format_or_type_integer(GLenum format, GLenum type); +extern GLboolean +_mesa_is_color_format(GLenum format); + +extern GLboolean +_mesa_is_depth_format(GLenum format); + +extern GLboolean +_mesa_is_stencil_format(GLenum format); + +extern GLboolean +_mesa_is_ycbcr_format(GLenum format); + +extern GLboolean +_mesa_is_depthstencil_format(GLenum format); + +extern GLboolean +_mesa_is_depth_or_stencil_format(GLenum format); + +extern GLboolean +_mesa_is_dudv_format(GLenum format); + +extern GLboolean +_mesa_is_compressed_format(struct gl_context *ctx, GLenum format); + extern GLenum _mesa_base_format_to_integer_format(GLenum format); |