Blender Git Commit Log

Git Commits -> Revision bbb2e06

Revision bbb2e06 by Jeroen Bakker (master)
June 23, 2020, 10:03 (GMT)
Performance: Draw play head as an overlay

When playing back animations a playhead is updated in all the animation editors.
The drawing of the playhead is part of the drawing of the main region
`RGN_TYPE_WINDOW` that redraws the whole region.

This change will draw the play head and window scrollers when updating the
screen. This affects the Action editor, Timeline, Graph editor, NLA editor and
Sequence editor. There is noticeable speedup when using complex animation files.

Spring 02_020_A.anim.blend fps went from 11.8 to 12.5 when showing a timeline
and a action editor on a Ryzen 1700.

* When playing back animation the markers don't jump up/down when near the
frame. This could be added back.

Reviewed By: Brecht van Lommel

Differential Revision: https://developer.blender.org/D8066

Commit Details:

Full Hash: bbb2e0614fc3c017f4dbcdb8a26be612e8cb282e
Parent Commit: 87ceff3
Lines Changed: +194, -55

12 Modified Paths:

/source/blender/blenkernel/BKE_screen.h (+2, -0) (Diff)
/source/blender/editors/animation/time_scrub_ui.c (+42, -3) (Diff)
/source/blender/editors/include/ED_anim_api.h (+2, -2) (Diff)
/source/blender/editors/include/ED_time_scrub_ui.h (+5, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+41, -18) (Diff)
/source/blender/editors/space_action/space_action.c (+17, -6) (Diff)
/source/blender/editors/space_graph/space_graph.c (+13, -9) (Diff)
/source/blender/editors/space_nla/space_nla.c (+12, -3) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+10, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_intern.h (+1, -0) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+7, -0) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+42, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021