Re: pixbuf<->cairo_surface_t conversion
- From: Matthias Clasen <matthias clasen gmail com>
- To: Soeren Sandmann <sandmann daimi au dk>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, Havoc Pennington <hp pobox com>
- Subject: Re: pixbuf<->cairo_surface_t conversion
- Date: Fri, 3 Sep 2010 09:52:22 -0400
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 ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]