Bug 322790 - Optimise Satellites painting
Summary: Optimise Satellites painting
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR task
Target Milestone: ---
Assignee: Thibaut Gridel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-24 20:53 UTC by Thibaut Gridel
Modified: 2014-01-09 18:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thibaut Gridel 2013-07-24 20:53:27 UTC
Satellites plugin offers to display tracks for many objects orbiting around planets.

Current painting for the track happens whenever the satellite is displayed, only swapping the pen style to toggle visibility. This is a perfo hit when many satellites are visible.

The task consists in finding another option to toggle visibility, and spare painting when it's not needed.
Alternatives could be to anywhere between calculating the track only when visibility is needed,  to simply calling the GeoTrackGraphicsItem::paint() from the GeoGraphicsScene for the needed tracks.

Reproducible: Always

Actual Results:  
Every GeoDataTrack is painted

Expected Results:  
Only the visible tracks are rendered and GeometryLayer painting is reduced
Comment 1 Thibaut Gridel 2014-01-09 18:37:12 UTC
Commit 74f84848d fixed this issue.