Commit c3ccae5f authored by Brian Paul's avatar Brian Paul
Browse files

improved glReadPixels accuracy for 16bpp color buffers - fixes lots of conformance bugs

parent 18074cf0
This diff is collapsed.
/* $Id: image.h,v 1.9 2000/05/10 14:39:53 brianp Exp $ */
/* $Id: image.h,v 1.9.4.1 2001/01/25 17:34:22 brianp Exp $ */
/*
* Mesa 3-D graphics library
* Version: 3.3
* Version: 3.4.1
*
* Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
*
......@@ -79,6 +79,15 @@ _mesa_pack_polygon_stipple( const GLuint pattern[32], GLubyte *dest,
const struct gl_pixelstore_attrib *packing );
extern void
_mesa_pack_float_rgba_span( GLcontext *ctx,
GLuint n, CONST GLfloat rgba[][4],
GLenum dstFormat, GLenum dstType,
GLvoid *dstAddr,
const struct gl_pixelstore_attrib *dstPacking,
GLboolean applyTransferOps );
extern void
_mesa_pack_rgba_span( GLcontext *ctx,
GLuint n, CONST GLubyte rgba[][4],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment