1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Increase the default pixmap cache size on Android to 384MB

We need at least 4 * 4096x4096x4 for overzoomed vector tiles + additional
memory for remaining pixmaps (GUI icons, ...)
This commit is contained in:
Martin Tůma 2023-12-18 21:18:50 +01:00
parent 112dc59cf2
commit 11ac5da640

View File

@ -33,7 +33,7 @@
: QPageSize::PageSizeId::A4) : QPageSize::PageSizeId::A4)
#ifdef Q_OS_ANDROID #ifdef Q_OS_ANDROID
#define PIXMAP_CACHE 256 #define PIXMAP_CACHE 384
#define DEM_CACHE 128 #define DEM_CACHE 128
#else // Q_OS_ANDROID #else // Q_OS_ANDROID
#define PIXMAP_CACHE 512 #define PIXMAP_CACHE 512