Page MenuHome

DrawManager: Extract Inner Loops

Authored by Jeroen Bakker (jbakker) on Tue, Jun 30, 3:03 PM.



When extracting mesh data to GPU buffer each element used a callback
that handles a single element at a time. This reduces the posibilities
for compilers to optimize.

This change will change the handlers to process a range of elements at
the same invocation.
I wasn't able to measure any speed improvements on linux. Perhaps on windows it will.

Diff Detail

rB Blender
draw-manager-inner-loops (branched from master)
Build Status
Buildable 8776
Build 8776: arc lint + arc unit

Event Timeline

Jeroen Bakker (jbakker) requested review of this revision.Tue, Jun 30, 3:03 PM
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)Tue, Jun 30, 3:13 PM
Jeroen Bakker (jbakker) planned changes to this revision.Tue, Jun 30, 3:24 PM

Test if there is benefit. If there isn't we should not apply this patch.