Skip to content
Commit 0d3aedbb authored by Torsten Rahn's avatar Torsten Rahn Committed by Torsten Rahn
Browse files

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).
parent 76edbd38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment