diff options
Diffstat (limited to 'src/mesa/main/pack.h')
-rw-r--r-- | src/mesa/main/pack.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/main/pack.h b/src/mesa/main/pack.h index 9988bea4fd1..ddba82eea54 100644 --- a/src/mesa/main/pack.h +++ b/src/mesa/main/pack.h @@ -165,4 +165,18 @@ _mesa_pack_luminance_from_rgba_integer(GLuint n, GLuint rgba[][4], bool rgba_is_ GLvoid *dstAddr, GLenum dst_format, GLenum dst_type); +extern GLfloat * +_mesa_unpack_color_index_to_rgba_float(struct gl_context *ctx, GLuint dims, + const void *src, GLenum srcFormat, GLenum srcType, + int srcWidth, int srcHeight, int srcDepth, + const struct gl_pixelstore_attrib *srcPacking, + GLbitfield transferOps); + +extern GLubyte * +_mesa_unpack_color_index_to_rgba_ubyte(struct gl_context *ctx, GLuint dims, + const void *src, GLenum srcFormat, GLenum srcType, + int srcWidth, int srcHeight, int srcDepth, + const struct gl_pixelstore_attrib *srcPacking, + GLbitfield transferOps); + #endif |