Skip to content
  • Enrico Ros's avatar
    For Users: · 962f891b
    Enrico Ros authored
    Display contents faster, waste less memory. Added preloading to forward-
    generate pages (if threading enabled and memory profile >= normal). Main
    pages are always generated first, then thumbnails come, then preload ones,
    etc.. Btw memory and cpu will be happier now.
    (1 bug in memory and 1 in preloading still remains.. will be spotted soon)
    
    For Developers:
    Generator: dropped moc, api changes, better functions naming.
    PDFGenerator and Document: moved requests queue to the Document.
       The generator performs only a single request a time. A flag can be
       queried to know if the generator is ready for starting another pixmap
       generation or not (in case it's generating a pixmap in background).
    PixmapRequest: added priority and backgound (async) attributes.
    Document: queuing requests by priority in requestPixmaps.
    Observer: added defines for priorities used in doc->requestpixmaps.
    PageView: delayed find-ahead timer creation (not created if not needed).
       Added preload PixmapRequests to the pixmap requests list.
    ThumbnailsList: adapted to pixmapRequest changes and changed naming for
       delayed thumbanils request.
    
    svn path=/trunk/kdegraphics/kpdf/; revision=379820
    962f891b