Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-04-05 19:36:12 +0300
committerHans Goudey <h.goudey@me.com>2022-04-05 19:36:12 +0300
commitb84255f590c07b129f726eadbfec72c73bfc2ee1 (patch)
treee5bd68a9b5cb575e2b126efc08836dd9f1253b27 /source/blender/draw/CMakeLists.txt
parentedcbf741df2f6d5567da123e1f4763cc82921ec8 (diff)
Curves: Port legacy curve viewport drawing to the new data-block
Instead of using `CurveEval` to draw the curve wire edges, use the new `Curves` data-block, which is already built as part of an object's evaluated geometry set whenever there is a `CurveComponent`. This means that we can remove `Curve`'s temporary ownership of `CurveEval` for drawing (added in 9ec12c26f16ea3da1e), which caused a memory leak as described in T96498. In my testing this improved performance by around 1.5x during viewport playback, back to the performance of 3.1 before the curve data structure transition started. The next step of using the GPU to do the final curve evaluation for the viewport is described in T96455, but is unrelated. Differential Revision: https://developer.blender.org/D14551
Diffstat (limited to 'source/blender/draw/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions