Revision 785427
Go back to digest for 16th March 2008Optimization in KDE Base
Rafael Fernández López committed changes in /branches/work/goya/goya/itemdelegate.cpp:
After all this is not very different than KHTML. The trick was in the difference between having alphaChannel or not having it.
This way we are drawing more or less 940 times faster. Creating a mask is probably one of the worst graphical operations one can do, and it was in a paint() event, almost crazy.
You can find a test (written by Germain Garand) on <a href="http://media.ereslibre.es/2008/03/paintingTransparentBenchmark.cpp">http://media.ereslibre.es/2008/03/paintingTransparentBenchmark.cpp</a>
File Changes
Modified 1 files
- /branches/work/goya/goya/itemdelegate.cpp
1 files changed in total