mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-07 12:05:14 +01:00
Increase path render instructions cache
This commit is contained in:
parent
6fc5a2f67d
commit
8b24aa17e2
@ -264,7 +264,7 @@ QPainterPath RasterTile::painterPath(const Polygon &polygon, bool curve) const
|
|||||||
|
|
||||||
QVector<RasterTile::PathInstruction> RasterTile::pathInstructions()
|
QVector<RasterTile::PathInstruction> RasterTile::pathInstructions()
|
||||||
{
|
{
|
||||||
QCache<Key, QVector<const Style::PathRender *> > cache(1024);
|
QCache<Key, QVector<const Style::PathRender *> > cache(8192);
|
||||||
QVector<PathInstruction> instructions;
|
QVector<PathInstruction> instructions;
|
||||||
const Style &s = style(_ratio);
|
const Style &s = style(_ratio);
|
||||||
QVector<const Style::PathRender*> *ri;
|
QVector<const Style::PathRender*> *ri;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user