[cairo] Dithering in master

Owen Taylor otaylor at redhat.com
Mon Jun 23 12:59:37 PDT 2008


On Mon, 2008-06-23 at 15:37 -0400, Behdad Esfahbod wrote:
> On Sat, 2008-06-21 at 10:10 -0400, Kristian Høgsberg wrote:
> > 
> > Hmm, so that mean you don't get the nicely dithered 16 bit gradients
> > if you're running a 16 bit server with render?  That's a shame..
> 
> Yeah.  Either the server does dithering or not.  Given that xorg
> doesn't, it's safe to assume that server doesn't.  So the only option it
> leaves is to unconditionally disable render compositing in those cases.
> I'm sure that will make some people unhappy though.
> 
> Donno.  What do others think?
> 
> There's a third option also and that's doing gradient dithering
> separately.  That's a valid option still.

We need to switch to server side gradients so we can get hardware
acceleration... it will be a *huge* win for;

 a) radial gradients
 b) non-horizontal / non-vertical gradients

At that point, even gradient dithering client side doesn't work.

In other words, fix it in the right place, don't futz around in the
client.

Of course, pixman work benefits both client side and server side
gradients.

- Owen




More information about the cairo mailing list