Blender Git Loki
Git Commits -> Revision 9ab99ff
Revision 9ab99ff by Clément Foucault (master) February 18, 2019, 13:17 (GMT) |
Sculpt Draw: Add support for wireframe geometry This introduce the wireframe batches. Creating the indices buffer does not seems to slow down the sculpt in my testing (but it is kind of hard to test reliably) This includes a bit of cleanup in gpu_buffers.c. |
Commit Details:
Full Hash: 9ab99ff26b57b2f0c898356d365636697d67e345
Parent Commit: 2cccffd
Lines Changed: +229, -85
9 Modified Paths:
/source/blender/blenkernel/BKE_pbvh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+6, -4) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+33, -1) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -0) (Diff)
/source/blender/draw/modes/overlay_mode.c (+6, -6) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/shaders/overlay_face_wireframe_vert.glsl (+1, -1) (Diff)
/source/blender/gpu/GPU_buffers.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+179, -70) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+6, -4) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+33, -1) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -0) (Diff)
/source/blender/draw/modes/overlay_mode.c (+6, -6) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/shaders/overlay_face_wireframe_vert.glsl (+1, -1) (Diff)
/source/blender/gpu/GPU_buffers.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+179, -70) (Diff)