MMX optimizations for KImageEffect
Fredrik Höglund
fredrik at kde.org
Thu Apr 10 22:58:46 BST 2003
On Thursday 10 April 2003 23:09, Carsten Pfeiffer wrote:
> On Thursday 10 April 2003 22:18, Fredrik Höglund wrote:
> > Attached is a patch that adds MMX inline assembly optimizations to
> > the blending functions in KImageEffect that are used to blend the
> > transclucent menus, as well as MMX code for the intensity() function,
> > generously donated to KDE by Benjamin Roe.
>
> Just one comment: can you put the cpu feature detection code into a
> separate class KCPUFeatures or something like that? I doesn't really belong
> to KImageEffect.
I can do that, but KCPUFeatures will still have to be in kdefx since
it's compiled before kdecore.
I placed it in KImageEffect and made it private to that class because
at the moment it can only detect MMX.
I guess if it's extended it can be useful for other parts of KDE though.
Fredrik
More information about the kde-core-devel
mailing list