Design issues (opengl, hdr, channels, pigment(?))

Schleimer, Ben bensch128 at yahoo.com
Thu Feb 1 19:32:45 CET 2007


Hi Cyrille,

> Which means, that we would need to have two plugins
> implementation, one for 
> opengl and one for C++/mmx ?

Why do you always need both implementations? Why not
always provide a general/slow C++ one and if there is
the need for a faster plugin, provide the openGL one
as well. Let krita dynamically decide which plugin is
best to use...

> 
> Yes it's plain asm files, so we don't want them :) I
> am still working on the 
> library that would allow us to have the same
> implementation for mmx/sse and 
> normal instruction.

Sorry if this is neive but doesn't GCC already do
autovectorization and can optimize using mmx if the
correct compiler flags are used? (looks like pentium2
and higher)
Wouldn't it be better just to write the code to be as
clean as possible and check the resulting asm with all
of the optimization flags turned on?

Cheers
Ben


More information about the kimageshop mailing list