Fix Performance issues with Polygons with holes
Closed, ResolvedPublic

Description

  • Currently polygons with holes are drawn by clipping the drawing area using a QRegion

Polygons with holes are excessively used in bathymetry and they are also frequently used for
buildings (especially in Karlsruhe ;).

This approach is slow on some hardware where uploading raster data is slow

Possible solution:

  • Preferred solution: Clip inner boundaries in geo coordinates, so that Marble only needs to render a linearring (which is quick). This could be done using the ClipperLib
  • OR find better ways to mask the drawing on the GPU by creating the mask on the GPU already (instead of uploading an image).
rahn created this task.Nov 15 2016, 6:36 PM
nienhueser triaged this task as Normal priority.Nov 19 2016, 7:19 AM
rahn closed this task as Resolved.Nov 22 2016, 2:47 AM

Implemented and merged.