Blender Git Commit Log

Git Commits -> Revision 5f6033e

Revision 5f6033e by Jeroen Bakker (master)
August 13, 2021, 07:37 (GMT)
Keyframe: Reduce GPU context switches.

This change reduces the GPU context switches when drawing keyframes.
In the previous situation the keyframe blocks and keyframe keys were
drawn per channel. With this patch first all the keyframe blocks are
drawn for all channels and after that the keyframe keys are collected
for all channels and send to the GPU in a single draw call.

Commit Details:

Full Hash: 5f6033e0919a9a6bfd00a8a977d28fa60fe7f079
Parent Commit: 7b5acc8
Lines Changed: +143, -123

4 Modified Paths:

/source/blender/editors/animation/keyframes_draw.c (+118, -98) (Diff)
/source/blender/editors/include/ED_keyframes_draw.h (+9, -5) (Diff)
/source/blender/editors/interface/interface_icons.c (+7, -10) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+9, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021