Blender Git Loki

Git Commits -> Revision 1b3f9ec

Revision 1b3f9ec by Clément Foucault (master)
February 21, 2018, 14:28 (GMT)
Gawain: Add new context/vao manager.

This allows allocation of VAOs from different opengl contexts and thread as long as the drawing happens in the same context.

Allocation is thread safe as long as we abide by the "one opengl context per thread" rule.

We can still free from any thread and actual freeing will occur at new vao allocation or next context binding.

Commit Details:

Full Hash: 1b3f9ecd0d0bdf20de24f72d73517cc97d925a15
Parent Commit: d4ee0ce
Lines Changed: +227, -9

3 Added Paths:

/intern/gawain/gawain/gwn_context.h (+34, -0) (View)
/intern/gawain/gawain/gwn_vertex_array_id.h (+34, -0) (View)
/intern/gawain/src/gwn_vertex_array_id.cpp (+136, -0) (View)

4 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+19, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021