Page MenuHome

Sequencer: Do not redraw during playback.
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Jun 11 2021, 2:48 PM.

Details

Summary

When using large sequences including audio the drawing of the audio on
top of the strip takes a lot of time. This effects the playback
performance heavily.

During the animation playback performance there was a solution for this
by only drawing the playhead overlay. This was reverted for the sequence
editor as it didn't update the color strips when they were animated.

This patch checks if there are animated color strips if so the full
screen is redrawn, otherwise only the playhead is redrawn.

Diff Detail

Repository
rB Blender

Event Timeline

Jeroen Bakker (jbakker) requested review of this revision.Jun 11 2021, 2:48 PM
Jeroen Bakker (jbakker) created this revision.
source/blender/editors/space_sequencer/sequencer_draw.c
2458–2459

remove these lines

Remove commented out code.

Maybe the color strips could be drawn as gradients instead? Imo, having them animated, draws too much attention while playing.

source/blender/editors/space_sequencer/sequencer_draw.c
2458–2459

This is normally hidden for users, but I sometimes need view cache state for debugging. Why did you disable it?

Oops, I have commented too late. I see now why cache draw isn't applicable here, will have to implement this in other way, so accepting

This revision is now accepted and ready to land.Jun 11 2021, 3:39 PM
This revision was automatically updated to reflect the committed changes.