|
From: Michel <mic...@ii...> - 2001-11-24 02:42:24
|
On Fri, 2001-11-23 at 22:09, Petr Vandrovec wrote: > On 23 Nov 01 at 20:33, Michel D=E4nzer wrote: >=20 > > On Fri, 2001-11-23 at 20:36, Petr Vandrovec wrote: > > >=20 > > > > >Except that you can't change gamma, or am I on the wrong track her= e? > > >=20 > > > No. But it is much better to provide _global_ gamma correction settin= g, > > > so you can then apply this gamma table even to 8bit palettized mode, > > > and even without app knowledge. > >=20 > > That would require a new API, no? >=20 > Yes. > =20 > > 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. >=20 > 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=20 > not use this gamma - only X can do (if they do...). We do, for both directcolor and pseudocolor. :) --=20 Earthling Michel D=E4nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast |