Re: FW: [patch] gl: disable GL_DITHER

Bill Spitzak <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Doesn't it make smooth gradients not have banding?

Maybe turn it only only when rendering a gradient.

Chris Wilson wrote:
> On Thu, Feb 14, 2013 at 07:22:45PM +0000, Henry (Yu) Song - SISA wrote:
>> re-post patch
>> ________________________________________
>> From: Henry (Yu) Song - SISA
>> Sent: Tuesday, January 29, 2013 9:30 AM
>> To: [email protected]
>> Subject: [patch] gl: disable GL_DITHER
>>
>> gl: disable GL_DITHER
>>
>> Leaving GL_DITHER enabled (by default) causes color pixel mismatch on 
>> some drivers by comparing uploading then glReadPixels and original image
> 
> I've pushed it. I had a moment of doubt, thinking that maybe we should
> respect GL_DITHER when rendering to the destination, and turn off
> differing around Draw/ReadPixels.
> 
> Getting that right is easier once someone has a use case for GL_DITHER.
> -Chris
> 
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.