Blender Git Loki

Git Commits -> Revision 796994d

June 12, 2019, 19:27 (GMT)
Refactor graphics context binding to avoid memory leaks

* Retrieve graphics context to bind through callbacks so the XR code can
manage their lifetime.
* Use static union to store system & chosen graphics lib specific
graphics binding data.

Makes some things a bit cleaner, too.

Commit Details:

Full Hash: 796994d222123f83fc3d0f6fc47f5ae12cdbdab6
Parent Commit: 66e90e9
Lines Changed: +92, -37

6 Modified Paths:

/source/blender/makesdna/DNA_windowmanager_types.h (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+7, -12) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr.c (+34, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+9, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+33, -21) (Diff)
/source/blender/windowmanager/xr/wm_xr.h (+9, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021