Page MenuHome

DrawManager: Make instance data persistent.
ClosedPublic

Authored by Jeroen Bakker (jbakker) on May 6 2022, 1:54 PM.
Subscribers
None
Tokens
"Love" token, awarded by mswf."Like" token, awarded by Endertainer007."Like" token, awarded by jacek007g.

Details

Summary

When resizing a viewport all engine instance data was cleared.
This wasn't the intended design and lead to performance regressions
in the image engine.

This patch makes sure that the instance data isn't cleared when
the viewport size changes. When using instance data, draw engines
are responsible to update the textures accordingly.

This could also reduce flickering/stalling when resizing the viewport
in eevee-next.

Fixes T95428.

Diff Detail

Repository
rB Blender
Branch
temp-draw-manager-persistent-instance-data (branched from master)
Build Status
Buildable 21999
Build 21999: arc lint + arc unit