Blender Git Commit Log

Git Commits -> Revision 5f749a0

Revision 5f749a0 by Jeroen Bakker (master)
May 31, 2021, 07:33 (GMT)
Fix T88456: DrawManager: Keep subset RenderMeshData around when geometry does not change.

Reuse loose geometry during selection (and other operations) from
previous calculation. Loose geometry stays the same, but was
recalculated to determine the size of GPU buffers. This patch would
reuse the previous loose geometry when geometry wasn't changed.

Although not the main bottleneck during selection it is measurable.

Master.
`rdata 46ms iter 55ms (frame 410ms)`

This patch.
`rdata 5ms iter 52ms (frame 342ms)`

Reviewed By: mano-wii

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

Commit Details:

Full Hash: 5f749a03ca1d34296adc84fc251e15790f583021
Parent Commit: a1556fa
Lines Changed: +121, -72

3 Modified Paths:

/source/blender/draw/intern/draw_cache_extract.h (+17, -0) (Diff)
/source/blender/draw/intern/draw_cache_extract_mesh.c (+76, -64) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+28, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021