Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jbakker>2021-06-11 16:47:19 +0300
committerJeroen Bakker <jeroen@blender.org>2021-06-11 16:51:26 +0300
commit7b76a160a4647b17c1a55da4bd40e8f549225568 (patch)
tree336428e3e2c94272127c4547ebdd1180ce39c247 /source/blender/editors/include/ED_sequencer.h
parent0eb9351296dbed5e7ac10ca56132d5e51e5f388d (diff)
Sequencer: Do not redraw during playback.
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. Reviewed By: ISS Differential Revision: https://developer.blender.org/D11580
Diffstat (limited to 'source/blender/editors/include/ED_sequencer.h')
-rw-r--r--source/blender/editors/include/ED_sequencer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_sequencer.h b/source/blender/editors/include/ED_sequencer.h
index 11eff2d583b..ae76f0b6eaf 100644
--- a/source/blender/editors/include/ED_sequencer.h
+++ b/source/blender/editors/include/ED_sequencer.h
@@ -42,6 +42,7 @@ bool ED_space_sequencer_maskedit_poll(struct bContext *C);
bool ED_space_sequencer_check_show_imbuf(struct SpaceSeq *sseq);
bool ED_space_sequencer_check_show_strip(struct SpaceSeq *sseq);
+bool ED_space_sequencer_has_visible_animation_on_strip(const struct Scene *scene);
void ED_operatormacros_sequencer(void);