summaryrefslogtreecommitdiff
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-11-09 01:03:49 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-11-09 01:03:49 +0000
commit4084e3c215d4db6370422fc718217bade7445618 (patch)
tree5527635cc6a98029f394831007dfaa7d03caca56 /src/mesa/main/image.h
parent4f28c9c35a27c6171073b4045f173a6deeceb604 (diff)
added _mesa_clip_drawpixels() and _mesa_clip_readpixels()
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r--src/mesa/main/image.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h
index c0c65fe5ef..6ebdbdee72 100644
--- a/src/mesa/main/image.h
+++ b/src/mesa/main/image.h
@@ -5,7 +5,7 @@
/*
* Mesa 3-D graphics library
- * Version: 6.1
+ * Version: 6.3
*
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
@@ -176,4 +176,18 @@ _mesa_unpack_image( GLsizei width, GLsizei height, GLsizei depth,
const struct gl_pixelstore_attrib *unpack );
+extern GLboolean
+_mesa_clip_drawpixels(const GLcontext *ctx,
+ GLint *destX, GLint *destY,
+ GLsizei *width, GLsizei *height,
+ GLint *skipPixels, GLint *skipRows);
+
+
+extern GLboolean
+_mesa_clip_readpixels(const GLcontext *ctx,
+ GLint *destX, GLint *destY,
+ GLsizei *width, GLsizei *height,
+ GLint *skipPixels, GLint *skipRows);
+
+
#endif