Blender Git Loki
Git Commits -> Revision a5f4f1e
Revision a5f4f1e by Sergey Sharybin (master) November 4, 2015, 16:30 (GMT) |
OpenSubdiv: Use pool for delayed OpenGL buffers free when freeing from non-main thread This is really similar to what GPU module was already doing. There are number of possible improvements still: - Re-use allocated VAOs when requesting new ones instead of going to the trouble of freeing VAO and then re-creating it again. - Move VAO handling to GPU module. Fixes T46589: OpenSubdiv crash with drivers |
Commit Details:
Full Hash: a5f4f1e2cea831415c045be4927320dc060798c9
Parent Commit: 4ff6e08
Lines Changed: +112, -77
9 Modified Paths:
/source/blender/blenkernel/BKE_subsurf.h (+6, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf_intern.h (+8, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c (+85, -3) (Diff)
/source/blender/blenkernel/intern/scene.c (+0, -64) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+0, -3) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+8, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+3, -3) (Diff)
/source/blender/windowmanager/SConscript (+0, -1) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf_intern.h (+8, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c (+85, -3) (Diff)
/source/blender/blenkernel/intern/scene.c (+0, -64) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+0, -3) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+8, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+3, -3) (Diff)
/source/blender/windowmanager/SConscript (+0, -1) (Diff)