From 4084e3c215d4db6370422fc718217bade7445618 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 9 Nov 2004 01:03:49 +0000 Subject: added _mesa_clip_drawpixels() and _mesa_clip_readpixels() --- src/mesa/main/image.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/image.h') 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 -- cgit v1.2.3