summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/drawpix.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/drawpix.h')
-rw-r--r--xc/extras/Mesa/src/drawpix.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/xc/extras/Mesa/src/drawpix.h b/xc/extras/Mesa/src/drawpix.h
index 4d4c74c83..2d2fc2190 100644
--- a/xc/extras/Mesa/src/drawpix.h
+++ b/xc/extras/Mesa/src/drawpix.h
@@ -1,8 +1,8 @@
-/* $Id: drawpix.h,v 1.3 1999/12/14 02:39:38 daryll Exp $ */
+/* $Id: drawpix.h,v 1.4 2000/01/30 00:27:01 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 3.1
+ * Version: 3.3
*
* Copyright (C) 1999 Brian Paul All Rights Reserved.
*
@@ -25,9 +25,6 @@
*/
-
-
-
#ifndef DRAWPIXELS_H
#define DRAWPIXELS_H
@@ -36,19 +33,15 @@
extern GLboolean
-gl_direct_DrawPixels( GLcontext *ctx,
- const struct gl_pixelstore_attrib *unpack,
- GLsizei width, GLsizei height,
- GLenum format, GLenum type, const GLvoid *pixels );
-
-
-#if 000
-extern void gl_DrawPixels( GLcontext *ctx, GLsizei width, GLsizei height,
- GLenum format, GLenum type, const GLvoid *pixels );
-#endif
+_mesa_clip_pixelrect(const GLcontext *ctx,
+ GLint *destX, GLint *destY,
+ GLsizei *width, GLsizei *height,
+ GLint *skipPixels, GLint *skipRows);
-extern void gl_DrawPixels( GLcontext *ctx, struct gl_image *image );
+extern void
+_mesa_DrawPixels( GLsizei width, GLsizei height,
+ GLenum format, GLenum type, const GLvoid *pixels );
#endif