diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-12-08 17:23:50 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-12-09 16:28:55 (GMT) |
commit | 3a8589a7c5e0394df456074048845cddd04bc43d (patch) | |
tree | 923de668f779694bab410a5920ef3c6c3b766d37 /libview/ev-view-private.h | |
parent | ef00f8a39f4a7c36f07888ee5ae1d21b9cf9b585 (diff) |
[libview] Split EvPixbufCache into dynamic and static data
Dynamic page data (page surfaces and selections) that depend on current
scale/rotation, keep in EvPixbufCache with the current cache approach.
Static page data (links, annots, images, text and forms) that don't
depend on current scale/rotation, have been moved to EvPageCache and they
are never removed from the cache.
Fixes bgo#602405.
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r-- | libview/ev-view-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 76998d3..7bd16e9 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -28,6 +28,7 @@ #include "ev-view.h" #include "ev-document-model.h" #include "ev-pixbuf-cache.h" +#include "ev-page-cache.h" #include "ev-jobs.h" #include "ev-image.h" #include "ev-form-field.h" @@ -136,6 +137,7 @@ struct _EvView { EvDocumentModel *model; EvPixbufCache *pixbuf_cache; + EvPageCache *page_cache; EvHeightToPageCache *height_to_page_cache; EvViewCursor cursor; EvJobRender *current_job; |