summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-01 17:11:35 -0600
committerBrian Paul <[email protected]>2009-09-01 17:39:32 -0600
commit278e76832fc26678592368b7b89bfddc137e0e93 (patch)
tree4c6a157fabb9189a2283a1c264c2f62670b71d11 /src/mesa/main/image.h
parent921bbfc94278d6897d44d1b6ae230315e2ab6e8c (diff)
mesa: new _mesa_expand_bitmap() function
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r--src/mesa/main/image.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h
index a082f374571..72717d67873 100644
--- a/src/mesa/main/image.h
+++ b/src/mesa/main/image.h
@@ -134,6 +134,13 @@ extern void
_mesa_pack_bitmap( GLint width, GLint height, const GLubyte *source,
GLubyte *dest, const struct gl_pixelstore_attrib *packing );
+extern void
+_mesa_expand_bitmap(GLsizei width, GLsizei height,
+ const struct gl_pixelstore_attrib *unpack,
+ const GLubyte *bitmap,
+ GLubyte *destBuffer, GLint destStride,
+ GLubyte onValue);
+
/** \name Pixel processing functions */
/*@{*/