]> www.fi.muni.cz Git - evince.git/commit
Use a dynamic pixbuf cache size based on document page size
authorCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 31 May 2010 15:57:33 +0000 (17:57 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 31 May 2010 16:57:59 +0000 (18:57 +0200)
commitd375c36972ff3a01b7979984b5a1043eb4c807b0
tree17f63422f7a6a9c3285a199bb6386e77f340473d
parent51261c0750f10aa8cc8687857a0a3b932fd87e3c
Use a dynamic pixbuf cache size based on document page size

Instead of using a static number of pages to cache, we use a size in
bytes, and the number of pages that will be cached depends on the
current zoom level. It allows us caching more pages for lower scale
factors and increase zoom level by caching fewer pages. See bug #303365.
cut-n-paste/zoom-control/ephy-zoom.h
libview/ev-pixbuf-cache.c
libview/ev-pixbuf-cache.h
libview/ev-view-private.h
libview/ev-view.c
libview/ev-view.h
shell/ev-window.c