Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000658OLVUser Interfacepublic2012-08-22 21:042012-08-22 21:04
ReporterBenFenner 
Assigned ToBenFenner 
PrioritynormalSeverityminorReproducibilityN/A
StatusassignedResolutionopen 
PlatformAllOSAllOS VersionAll
Product Version0.0.3-SNAPSHOT 
Target Version0.0.4Fixed in Version 
Summary0000658: Speed up graph moving/painting, likely using frame shifting.
DescriptionRight now the graph is painted from beginning to end every time the graph moves. There should be a way to make use of the portion that has already been drawn, and only draw the stuff that needs to be displayed anew.

This should be simple enough to implement for zoomed in states all the way to 1:1 zoom.

With the way the graph traces are drawn when zoomed out beyond 1:1, it might not be as simple as drawing the new trace shape without going through the whole trace from beginning to end. In this case, it might make more sense to simply paint the traces as required and then cache the image, building upon that image cache as new sections are painted. If the user scrolls to a place that is completely contained within the cache then that can be retrieved instead of having to paint again. This should be much faster than painting.

Each zoom level will need its own cached image, and adding/removing divisions/traces will require new caches as well. As the caches fill quickly during normal use the speed of the application when scrolling the graph should increase quite a bit.

Other ideas are welcome.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker