

Future plans for Mesa.  Device driver maintainers take notice.
Comments on this stuff are welcome.



1. Change device driver interface's function which take separate arrays of
   red, green, blue and alpha values to take array [n][4] of color components
   instead.  For example:

   Currently:

   void (*WriteColorSpan)( GLcontext *ctx,
                           GLuint n, GLint x, GLint y,
			   const GLubyte red[], const GLubyte green[],
			   const GLubyte blue[], const GLubyte alpha[],
			   const GLubyte mask[] );

   Future:

   void (*WriteColorSpan)( GLcontext *ctx,
                           GLuint n, GLint x, GLint y,
			   const GLubyte rgba[][4],
			   const GLubyte mask[] );

   Reason:
   We can directly send GL_UNSIGNED_BYTE, GL_RGBA glDrawPixels data to
   the later form.  Also, the device driver function may be able to poke
   the 4-byte color directly to a 32-bpp frame buffer if the buffer's byte
   ordering matches the RGBA order.  Otherwise, simple byte flipping within
   the word may be needed.  We can possibly replace four 1-byte loads with
   one 1-word store.  Maybe get better cache usage too.


2. The glaux/gltk Mesa demos will be retired in a future release.  The glaux
   and gltk libraries are hacks.  GLUT should be used instead.  GLUT includes
   many demos including GLUT versions of many of the glaux/gltk demos.  Also,
   the OpenGL Programming Guide book now uses GLUT.

