[cairo] rewriting libpixman

MenTaLguY mental at rydia.net
Thu Mar 29 10:17:03 PDT 2007


On Thu, 29 Mar 2007 13:02:05 -0400, Jeff Muizelaar <jeff at infidigm.net> wrote:
> Yeah, the precision conversion code was pretty broken. I haven't
> actually done any 565 testing yet, so I didn't need it to actually work.
> Anyways, I've fixed it to do the proper multiply by 255 and divide by 31
> or 63, but I plan to add support for the bit copying approximation as
> well.

The bit-copying "approximation" is exactly equivalent to multiplying by 255 and dividing by 31.  There's no point in implementing both -- stick with the bit copy, since it's more efficient.

-mental



More information about the cairo mailing list