From 3a8589a7c5e0394df456074048845cddd04bc43d Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Tue, 08 Dec 2009 17:23:50 +0000 Subject: [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. --- (limited to 'libview/ev-view-private.h') 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; -- cgit v0.9.1