Blender Git Loki

Git Commits -> Revision 36cc42e

Revision 36cc42e by Clément Foucault (master)
December 17, 2018, 16:05 (GMT)
Mesh Batch Cache: Optimization & Refactor shaded surface support

This now only upload data per loops to the GPU, making use of index buffer
to draw polygon. This make use of the vertex cache, speed up renders
and saves a lot of vram.

Update performance is also slightly faster and can even be improved further
by updating only uvs or vcol independently.

This commits breaks texture paint batches. It will be added back in another
commit.

Commit Details:

Full Hash: 36cc42e79673bb15afeacdb674d925d8f8140046
Parent Commit: bc74e48
Lines Changed: +643, -547

11 Modified Paths:

/source/blender/draw/engines/basic/basic_engine.c (+1, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+1, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+3, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+3, -4) (Diff)
/source/blender/draw/intern/draw_cache.c (+16, -20) (Diff)
/source/blender/draw/intern/draw_cache.h (+4, -5) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+3, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+606, -503) (Diff)
/source/blender/draw/intern/draw_manager.c (+2, -0) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021