freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Speeding up PNG loading


From: Werner LEMBERG
Subject: Re: [ft-devel] Speeding up PNG loading
Date: Mon, 14 Aug 2017 09:32:52 +0200 (CEST)

> I thought I see if I can speed up PNG loading by vectorizing alpha
> premultiplication, and it actually does give a nice speedup: [...]

Nice!

> The code is rather terse but readable.  I can add comments.

Not necessary, I think.

> Needs some GCC/clang checks, ...

Indeed, probably controlled by a configuration macro.

> ... as well as implementing the big-endian case (or disable it for
> big-endian).  I couldn't find any endianness macros in FreeType.

We don't have such macros; it should be easy to add, though.  On the
other hand: Do big-endian processors exist at all that support gcc's
(or clang's) `vector_size' extension?

Are you going to work further on your patch towards upstream FreeType
integration?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]