summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pack.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-10-30 10:36:53 -0600
committerBrian Paul <[email protected]>2010-11-03 11:18:52 -0600
commitb29ca2a561621425991727f8dc2145ae21f0f3b2 (patch)
treeb3d48012c4bcf3a83a429ba187b5bb7f0c4d6fd0 /src/mesa/main/pack.h
parent54f2116877561e6b6360d317b84f24b1a2aa906d (diff)
mesa: code to unpack RGBA as uints
Diffstat (limited to 'src/mesa/main/pack.h')
-rw-r--r--src/mesa/main/pack.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/pack.h b/src/mesa/main/pack.h
index 3b24159fc2b..65d3f7a0fb2 100644
--- a/src/mesa/main/pack.h
+++ b/src/mesa/main/pack.h
@@ -75,6 +75,13 @@ _mesa_unpack_color_span_float(struct gl_context *ctx,
GLbitfield transferOps);
extern void
+_mesa_unpack_color_span_uint(struct gl_context *ctx,
+ GLuint n, GLenum dstFormat, GLuint *dest,
+ GLenum srcFormat, GLenum srcType,
+ const GLvoid *source,
+ const struct gl_pixelstore_attrib *srcPacking);
+
+extern void
_mesa_unpack_dudv_span_byte(struct gl_context *ctx,
GLuint n, GLenum dstFormat, GLbyte dest[],
GLenum srcFormat, GLenum srcType,