remove use of canvas freeze-queue-draw API
Measurement shows that this makes no actual difference to the speed of marking up the canvas for a redraw
This commit is contained in:
parent
3ff4d6c5ab
commit
0638d3c99e
|
@ -1096,8 +1096,6 @@ MidiRegionView::redisplay_model()
|
|||
|
||||
Timing t;
|
||||
|
||||
group->canvas()->freeze_queue_draw ();
|
||||
|
||||
if (_active_notes) {
|
||||
// Currently recording
|
||||
const samplecnt_t zoom = trackview.editor().get_current_zoom();
|
||||
|
@ -1116,7 +1114,6 @@ MidiRegionView::redisplay_model()
|
|||
}
|
||||
|
||||
if (!_model) {
|
||||
group->canvas()->thaw_queue_draw ();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1229,8 +1226,6 @@ MidiRegionView::redisplay_model()
|
|||
_marked_for_velocity.clear ();
|
||||
_pending_note_selection.clear ();
|
||||
|
||||
group->canvas()->thaw_queue_draw ();
|
||||
|
||||
t.update ();
|
||||
std::cerr << "REDISPLAY of " << region()->name() << " complete after " << t.elapsed_msecs() << std::endl;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue