Opened 13 years ago

Last modified 12 years ago

#22 assigned defect

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 (1)

comment:1 Changed 13 years ago by Olly Betts

Status: newassigned

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.

Note: See TracTickets for help on using tickets.