Re: Re: [Question] Colour management
flat view
From: Antonino A. Daplas <hidden>
Date: 2004-07-31 21:20:17
On Saturday 31 July 2004 21:31, Ville Syrjälä wrote:
quoted
red_reg[index * 8] = red green_reg[index * 8] = green blue_reg[index * 8] = blue Some hardware require that all 8 entries needs to be filled up.I noticed you do this in i810fb. What happens if you don't do this?
Wrong colors.
AFAIK mach64 doesn't need this.
Yes, it's hardware dependent. When I decided to add directcolor support, I initially copied the mach64's setcolreg function but I got wrong colors at bpp16. Found out by experimentation that I need to set all 256 entries of the CLUT. Tony ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com