diff options
author | Brian Paul <[email protected]> | 2009-08-13 09:46:42 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-13 12:50:56 -0600 |
commit | 73b150c816c46a88e3e5d97f9b73ab0095f2bc60 (patch) | |
tree | 797f9862f81331edb16bb623c0ca1e3652e04d18 /src/mesa/main/image.h | |
parent | ba2a55ccd61d9fa5565640faefb64fd6fb0e70ab (diff) |
mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.c
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r-- | src/mesa/main/image.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h index ee17accb80c..20459a5f1e1 100644 --- a/src/mesa/main/image.h +++ b/src/mesa/main/image.h @@ -54,6 +54,24 @@ _mesa_bytes_per_pixel( GLenum format, GLenum type ); extern GLboolean _mesa_is_legal_format_and_type( GLcontext *ctx, GLenum format, GLenum type ); +extern GLboolean +_mesa_is_color_format(GLenum format); + +extern GLboolean +_mesa_is_index_format(GLenum format); + +extern GLboolean +_mesa_is_depth_format(GLenum format); + +extern GLboolean +_mesa_is_ycbcr_format(GLenum format); + +extern GLboolean +_mesa_is_depthstencil_format(GLenum format); + +extern GLboolean +_mesa_is_dudv_format(GLenum format); + extern GLvoid * _mesa_image_address( GLuint dimensions, |