MMX optimizations for KImageEffect

Fredrik Höglund fredrik at kde.org
Mon Apr 14 22:31:08 BST 2003


On Thursday 10 April 2003 23:58, Fredrik Höglund wrote:
> 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.

Okay, here's my proposed API for KCPUInfo (I decided to name the
class that instead of KCPUFeatures.)

If no one has any more comments I'll go ahead and commit this.

Regards,
Fredrik


-------------- next part --------------
A non-text attachment was scrubbed...
Name: kcpuinfo.h
Type: text/x-chdr
Size: 2510 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030414/571dc72c/attachment.h>


More information about the kde-core-devel mailing list