Opened 13 years ago
Last modified 8 days ago
#22 assigned enhancement
Don't redraw full scene to update measuring line
Reported by: | Olly Betts | Owned by: | Olly Betts |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | aven | Version: | 1.1.16 |
Keywords: | Cc: |
Description
When the measuring line needs to be drawn/redrawn/undrawn, we currently redraw the whole scene each time.
Perhaps we should save the existing image (or the part of it under the line) and restore that instead. Particularly for slower OpenGL implementations, this is likely to give a much more responsive feel.
("Son of #17")
Change History (2)
comment:1 Changed 13 years ago by
Status: | new → assigned |
---|
comment:2 Changed 8 days ago by
Type: | defect → enhancement |
---|
Note: See
TracTickets for help on using
tickets.
Doing some simple timings suggests that saving and restoring the pixels will be comparable speed to a full redraw with a reasonable graphics card, but even there is a bit faster with lots of things turned on (passages, labels, etc). So it should be a big win when rendering is all or mostly in software.