Revision 698276

Go back to digest for 12th August 2007

Optimization in Graphics

Marcel Wiesweg committed changes in /trunk/extragear/graphics/digikam/digikam:

Switch to multithreaded thumbnail loading:
AlbumIconView uses ThumbnailLoadThread now.

Previously, we used to load thumbnails with an ioslave and transfer the data over shared memory.

This overhead can be avoided now.

The new classes ThumbnailLoadThread and ThumbnailCreator have the functionality that was contained in the digikamthumbnail ioslave and the classes ThumbnailJob and PixmapManager.

ThumbnailJob/ioslave is still used in other parts of digikam. PixmapManager is now unused.

Subjectively, thumbnail loading feels faster in certain situations for me.

I have no measurements because the experimental setting would be difficult.

File Changes

Modified 3 files
  • /trunk/extragear/graphics/digikam/digikam
  •   /albumiconitem.cpp
  •   /albumiconview.cpp
  •   /albumiconview.h
3 files changed in total