Blender Git Loki

Git Commits -> Revision 72e1c55

August 16, 2021, 04:19 (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: 72e1c5572effb7421a620c682c82453c3f70b163
Parent Commit: 3ce5d86
Committed By: YimingWu
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021