1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-31 09:05:14 +01:00

Increase path render instructions cache

This commit is contained in:
Martin Tůma 2023-04-04 00:29:50 +02:00
parent 6fc5a2f67d
commit 8b24aa17e2

View File

@ -264,7 +264,7 @@ QPainterPath RasterTile::painterPath(const Polygon &polygon, bool curve) const
QVector<RasterTile::PathInstruction> RasterTile::pathInstructions()
{
QCache<Key, QVector<const Style::PathRender *> > cache(1024);
QCache<Key, QVector<const Style::PathRender *> > cache(8192);
QVector<PathInstruction> instructions;
const Style &s = style(_ratio);
QVector<const Style::PathRender*> *ri;