[gs-commits] mupdf 1.16.1.87 Use default store size in mupdf-gl.
[email protected] (Tor Andersson) Mon, 7 Oct 2019 19:51:46 +0000 (UTC)
| Newsgroups | gmane.comp.printing.ghostscript.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 105977aaf144c532e7e921588c779c7f66eca971 Author: Tor Andersson <[email protected]> Date: Mon Oct 7 21:45:12 2019 +0200 Use default store size in mupdf-gl. This should improve performance quite a bit, as we were previously evicting stuff from the cache a bit too eagerly. diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c index 9cd7218..ffc5dd3 100644 --- a/platform/gl/gl-main.c +++ b/platform/gl/gl-main.c @@ -1725,7 +1725,7 @@ int main(int argc, char **argv) } } - ctx = fz_new_context(NULL, NULL, 0); + ctx = fz_new_context(NULL, NULL, FZ_STORE_DEFAULT); fz_register_document_handlers(ctx); if (layout_css) { http://git.ghostscript.com/?p=mupdf.git;a=commit;h=105977aaf144c532e7e921588c779c7f66eca971 -- MuPDF library Artifex Software, Inc.