Revision fab69a4...

Go back to digest for 19th June 2011

Optimization in Graphics

Jesper Pedersen committed changes in [kphotoalbum] /:

Do not load video presnapshots on the main event loop

As an optimization, when a snapshot is loaded from a video file, it is
saved in a image file in ~/.videoThumbnails. When the grid was resized
that snapshot was used instead of loading a new snapshot from the video
file. Until now, that snapshot was loaded and rescaled on the GUI
thread, which made the UI freeze if there where a large number of video
files.

File Changes

Added 2 files
  •   ImageManager/VideoImageRescaleRequest.cpp
  •   ImageManager/VideoImageRescaleRequest.h
Modified 8 files
  •   CMakeLists.txt
  •   ImageManager/ImageLoader.cpp
  •   ImageManager/ImageRequest.cpp
  •   ImageManager/ImageRequest.h
  •   ImageManager/Manager.cpp
  •   ImageManager/PreloadRequest.cpp
  •   ImageManager/VideoManager.cpp
  •   ImageManager/VideoManager.h
10 files changed in total