| 
      
      
      From: Petr V. <VAN...@vc...> - 2001-11-23 20:10:00
      
     | 
| On 23 Nov 01 at 20:33, Michel D=E4nzer wrote:
> On Fri, 2001-11-23 at 20:36, Petr Vandrovec wrote:
> > On 23 Nov 01 at 16:34, Benjamin Herrenschmidt wrote:
> > 
> > > >Except that you can't change gamma, or am I on the wrong track here=
?
> > 
> > No. But it is much better to provide _global_ gamma correction setting=
,
> > so you can then apply this gamma table even to 8bit palettized mode,
> > and even without app knowledge.
> 
> That would require a new API, no?
Yes.
 
> Right now, apps use the colormap for this, and I'd hate to prevent them
> from doing so just because it's hard to get right.
There is no gamma API now. There is just an API to set RAMDAC, which
can be used as gamma in directcolor mode. But just in directcolor,
you cannot use it in palettized modes, although it is possible (as
in palettized mode RAMDAC is used in completely different way and it
cannot be used itself as gamma correction ramp), and also consoles will 
not use this gamma - only X can do (if they do...). As I'm using X just 
only for VMware, gamma on consoles is much more important to me.
                                                Petr Vandrovec
                                                van...@vc...
                                                
 |