summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-10-13 17:41:23 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-10-13 17:41:23 +0000
commit5b0edff412f45fe64bd42fb481adeda7d34b0fa8 (patch)
tree141c7825eb0f289f69a4fc5fb206e6c7415d51c7 /src/mesa/main/image.h
parent461651357713b1408400669d6a809f2e367182fe (diff)
downloadexternal_mesa3d-5b0edff412f45fe64bd42fb481adeda7d34b0fa8.zip
external_mesa3d-5b0edff412f45fe64bd42fb481adeda7d34b0fa8.tar.gz
external_mesa3d-5b0edff412f45fe64bd42fb481adeda7d34b0fa8.tar.bz2
Consolidate, move, fix code related to color index and stencil image transfer
operations (shift, offset, table lookup, etc).
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r--src/mesa/main/image.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h
index 5d50f5d..990398a 100644
--- a/src/mesa/main/image.h
+++ b/src/mesa/main/image.h
@@ -115,6 +115,17 @@ extern void
_mesa_apply_rgba_transfer_ops(GLcontext *ctx, GLbitfield transferOps,
GLuint n, GLfloat rgba[][4]);
+
+extern void
+_mesa_apply_ci_transfer_ops(const GLcontext *ctx, GLbitfield transferOps,
+ GLuint n, GLuint indexes[]);
+
+
+extern void
+_mesa_apply_stencil_transfer_ops(const GLcontext *ctx, GLuint n,
+ GLstencil stencil[]);
+
+
extern void
_mesa_pack_rgba_span_float( GLcontext *ctx, GLuint n, GLfloat rgba[][4],
GLenum dstFormat, GLenum dstType, GLvoid *dstAddr,