Blender Git Loki

Git Commits -> Revision 7c96f61

Revision 7c96f61 by Campbell Barton (master)
August 16, 2017, 20:34 (GMT)
DwM: Use Batch's for drawing selection

Use mesh batch cache for mesh selection.
Note that we could create the batches and free immediately
so they don't take up memory.

This resolves a problem where selection was limited
to immediate-mode buffer size.

Commit Details:

Full Hash: 7c96f613e4d05f67f5cd9bf0cec29ca7ce51a3e4
Parent Commit: a4068d0
Lines Changed: +503, -44

6 Modified Paths:

/source/blender/draw/intern/draw_cache_impl.h (+6, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+423, -41) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+59, -2) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+2, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl (+12, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021