mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-27 03:29:16 +02:00
Increase path render instructions cache
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user