[cairo] [pixman] C optimization for x888->0565

André Tupinambá andrelrt at gmail.com
Wed Sep 10 11:37:57 PDT 2008


Hi Vlad,

Makes sense to create the MMX and SSE2 versions of this fast paths?

Regards,

André Tupinambá

On Sat, Sep 6, 2008 at 9:57 PM, Vladimir Vukicevic <vladimir at pobox.com> wrote:
>
> Howdy,
>
> The x8r8g8b8 -> r5g6b5 with operator source case was going through
> composite_general, complete with fbFetch_x8r8g8b8's and fbStore_r5g6b5's.
>  Youch.  This case happens pretty commonly when an app is using a 24-bpp
> surface as a backbuffer when it does the final blit to a 16bpp X server as
> part of expose handling.
>
> This can maybe be done faster on arm with assembly (where it'll get the most
> use), but Jeff can do that better than me if it's necessary -- looking at
> gcc's code, it doesn't look awful.
>
>    - Vlad
>
>
>
>
>
>
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list