Improved ground overlays
Review Request #123180 - Created March 30, 2015 and submitted
Improved ground overlays: performance, transluscency, visibility
-Performance improved by replacing object construction in critical part of the code with static calls
-Added transluscency based on alpha of pixels in overlay icon
-Added testing for global visibility before rendering overlay
Ran with several images of ground overlays, tested performance with QElapsedTimer.
All three aspect work and the performance is improved almost 3x on my machine - tested by rotating and moving the overlay around.
- visibility: looks good to me, I'll push that on your behalf directly
- translucency: seems fine also, but I'd wait for someone else (Bernhard?) with more experience in the blending/tiling areas for acknowledgement
- performance: good catch, looks reasonable. Similarly I'd give others a chance to review the API additions before pushing