Batch Rendering for placemark symbol pixmaps: - Actually share identical…

Authored by rahn on Nov 9 2016, 5:26 PM.

Description

Batch Rendering for placemark symbol pixmaps: - Actually share identical pixmaps in memory - Cache them inside a dedicated QPixmapCache - Render identical symbols in a batch using QPainter::drawPixmapFragments()

Batch rendering can be disabled via the
BATCH_RENDERING define.

The "O"-keystroke-debug mode is now extended
by displaying a background color for each
placemark. Placemarks rendered in parallel
share the same background color.

This should benefit rendering of huge amounts of
pixmaps of the same kind (e.g. trees).

Details

Committed
rahnNov 9 2016, 6:02 PM
Parents
R34:76edbd38835e: No need for explicit mention of GeoDataGeometry class when calling detach()
Branches
Unknown
Tags
Unknown