Blender Git Commit Log
Git Commits -> Revision f1975a4
Revision f1975a4 by Clément Foucault (master) December 4, 2018, 16:52 (GMT) |
Wireframe: Optimization: Only draw triangles that have edges This only happens after a certain threshold. We sort triangles into 2 bins (start and end of the buffer) based on a threshold and just draw the start bin if the wireframe slider is low enough. This optimization is disabled for deformed meshes. This should help resolve (to some extent) T58188. |
Commit Details:
Full Hash: f1975a46390a5bf85bb7012375f9bc1e761fc516
Parent Commit: 89ef69d
Lines Changed: +108, -56
7 Modified Paths:
/source/blender/draw/intern/draw_cache.c (+16, -16) (Diff)
/source/blender/draw/intern/draw_cache.h (+6, -6) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+3, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl_curve.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+76, -28) (Diff)
/source/blender/draw/intern/draw_cache_impl_metaball.c (+1, -1) (Diff)
/source/blender/draw/modes/overlay_mode.c (+5, -1) (Diff)
/source/blender/draw/intern/draw_cache.h (+6, -6) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+3, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl_curve.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+76, -28) (Diff)
/source/blender/draw/intern/draw_cache_impl_metaball.c (+1, -1) (Diff)
/source/blender/draw/modes/overlay_mode.c (+5, -1) (Diff)