[cairo] CAIRO_FORMAT_A8 / stride

Keith Packard keithp at keithp.com
Sun Jul 2 14:48:11 PDT 2006


On Sun, 2006-07-02 at 13:26 -0400, Owen Taylor wrote:

> I don't quite understand what your problem is ... as far as I know,
> Cairo will work fine with non-word-aligned rowstrides, though it
> may be less efficient.

no, pixman only handles 32-bit aligned strides for all rendering.

Fixing that would be hard in general as the pixman code often accesses
pixel data 32 bits at a time, and many processors don't like unaligned
data accesses.

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.freedesktop.org/archives/cairo/attachments/20060702/14e1d3fe/attachment.pgp


More information about the cairo mailing list