pseudo color and direct color

Alan Hourihane alanh at fairlite.demon.co.uk
Tue May 17 06:55:23 PDT 2005


On Tue, May 17, 2005 at 09:52:46AM -0400, Jon Smirl wrote:
> On 5/17/05, Brian Paul <brian.paul at tungstengraphics.com> wrote:
> > Jon Smirl wrote:
> > > On 5/16/05, Brian Paul <brian.paul at tungstengraphics.com> wrote:
> > >
> > >>Jon Smirl wrote:
> > >>
> > >>>Pseudo color and direct color - neither of these are support in EGL, right?
> > >>>Everything is true color?
> > >>>
> > >>>8,16,24,32 true color are all allowed, just no palettes.
> > >>
> > >>EGL, as-is, has no notion of color index mode (PseudoColor).  It could
> > >>be easily added with a new extension if we need/want it.
> > >
> > >
> > > What about DirectColor? Is that grouped with PseudoColor?
> > 
> > DirectColor requires lookup tables for each of the R, G, B channels.
> > We'd have to add functions for specifying those tables.  Similarly for
> > PseudoColor.
> 
> Is there a need for DirectColor support, or do everyone just use true color?
> Does current hardware support DirectColor?

Most current hardware does support DirectColor. 

One of it's uses is a gamma ramp.

Alan.


More information about the dri-egl mailing list