- 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).