diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-05-01 00:46:04 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-05-01 00:46:04 +0200 |
commit | 15a631f110738bcdf877c69bf6cb31df8f39b201 (patch) | |
tree | 546e6dc9fdbb844da6584e9298b32e5416b2f971 /apps/pdfdraw.c | |
parent | c76e325dedeb922d6bf19c95a35ab47296c2c0d1 (diff) | |
download | mupdf-15a631f110738bcdf877c69bf6cb31df8f39b201.tar.xz |
Make use of aging and eviction of items in store to enable caching of items between pages.
Diffstat (limited to 'apps/pdfdraw.c')
-rw-r--r-- | apps/pdfdraw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c index a095cc29..21c71f95 100644 --- a/apps/pdfdraw.c +++ b/apps/pdfdraw.c @@ -189,9 +189,10 @@ void drawfreepage(void) */ if (xref && xref->store) { - fflush(stderr); /* pdf_debugstore(xref->store); */ - pdf_emptystore(xref->store); + pdf_agestoreditems(xref->store); + pdf_evictageditems(xref->store); + fflush(stderr); } } |