Revision 1feb549...

Go back to digest for 8th July 2012

Optimization in Graphics

Fabio D'Urso committed changes in [okular] /:

Clean pixmap cache in order of descreasing distance from current viewport

Previously it was cleaned in FIFO order

I also moved the pixmap selection logic in a separate function, that
will be needed in the next patches.

Note: This behaviour is yet not optimal for the thumbnails panel,
because it is allowed to be at a page different than the current
viewport

File Changes

Modified 2 files
  •   core/document.cpp
  •   core/document_p.h
2 files changed in total