Blender Git Commit Log

Git Commits -> Revision 1816d1f

Revision 1816d1f by Clément Foucault (master)
March 15, 2018, 12:58 (GMT)
Mesh: Batch cache: Fix sculpt update issue.

Old solution was to create a new vbo and copy it to the location of
the old vbo hoping for the batches to update their vaos before drawing.

The issue is that the new VAO caching is not updating the VAOs at all
unless the shader interface changes.

So unless we expand gawain to support updating of vertex buffers (in a
better way than the current "dynamic" buffer) we need to delete every batch
linked to the vbo we want to recreate.

This solution might have performance implications.

Commit Details:

Full Hash: 1816d1f992c45f6decf26a3afa2e8ba71964defc
Parent Commit: a769cae
Lines Changed: +44, -15

1 Modified Path:

/source/blender/draw/intern/draw_cache_impl_mesh.c (+44, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021