Jean-Francois Panisset wrote:
>
> <[EMAIL PROTECTED]>Brian Paul writes
> >
> >For Mesa 3.3 (the new development) I'll extend the new imaging
> >code (in image.[ch]) into glDrawPixels, glCopyPixels and
> >glColorTable. Those functions might not get much faster but
> >the code will be a lot cleaner.
> >
>
> Are there plans to implement the color matrix stuff in 3.3?
No. But, it would fit into the new imaging code quite easily.
Specifically, you'd patch it into _mesa_unpack_ubyte_color_span()
in image.c where there's a comment about convolution and histogram.
Also, the matrix-related functions would need to be extended for
the new color matrix.
Note that color matrices are part of the OpenGL 1.2 ARB_imaging
subset. That's a lot of stuff to implement. However, there's
the GL_SGI_color_matrix extension which just implements the
color matrix. That would be a more reasonable project. See
http://reality.sgi.com/ljp_engr/registry/SGI/color_matrix.txt
-Brian
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev