Browse Source

added _mesa_pack_float_rgba_span()

tags/mesa_3_5
Brian Paul 25 years ago
parent
commit
116970154d
2 changed files with 795 additions and 761 deletions
  1. 786
    760
      src/mesa/main/image.c
  2. 9
    1
      src/mesa/main/image.h

+ 786
- 760
src/mesa/main/image.c
File diff suppressed because it is too large
View File


+ 9
- 1
src/mesa/main/image.h View File

@@ -1,4 +1,4 @@
/* $Id: image.h,v 1.10 2000/08/21 14:22:24 brianp Exp $ */
/* $Id: image.h,v 1.11 2000/08/30 18:21:37 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -79,6 +79,14 @@ _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 format, GLenum type, GLvoid *dest,
const struct gl_pixelstore_attrib *packing,
GLuint transferOps );


extern void
_mesa_pack_rgba_span( GLcontext *ctx,
GLuint n, CONST GLubyte rgba[][4],

Loading…
Cancel
Save