[cairo] Dithering

Keith Packard keithp at keithp.com
Tue Apr 1 10:54:38 PDT 2008

On Tue, 2008-04-01 at 03:54 +0400, Behdad Esfahbod wrote:

> The hard part about dithering in cairo is that compositing requires to
> read back the drawable contents, compose to it, and put it back.  So if
> one's not careful, the dithering adjustment can accumulate and show very
> bad effect.  I "fix" that by subtracting the dithering adjustment when
> getting the image from the server.  Seems to work fine.

What i'd like to see is to have the xlib backend just keep a 32-bit
image on the client side and never fetch bits back from the server, that
way the dithering would be done only on put-image.

As a side-effect, drawing without Render would become a lot faster too.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.cairographics.org/archives/cairo/attachments/20080401/9df9b96f/attachment.pgp 

More information about the cairo mailing list