Re: pixbuf<->cairo_surface_t conversion

Matthias Clasen <matthias clasen gmail com> writes:

> On Fri, Sep 3, 2010 at 3:22 AM, Soeren Sandmann <sandmann daimi au dk> wrote:
> > Not that it matters that much, but if you use cairo_mask() with the
> > pixbuf data as both source and mask, the source as RGB24 and the mask
> > as ARGB32, you could make cairo do the conversion from pixbuf to
> > surface. That would likely hit an SSE2 or ARM NEON optimized code path
> > in pixman.
> >
> Interesting. But how would that deal with the fixed-endianness of
> pixbuf data vs the native endianness of cairo ?

It would only work on little endian CPUs.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]