Blender Git Commit Log

Git Commits -> Revision 31b8350

August 24, 2019, 01:32 (GMT)
Cleanup: Refactor (hacky) swapchain image submission

Code now assumes that the view-draw callback left the OpenGL state for
ongoing use by Ghost-XR. So the state doesn't have to be set by the
swapchain image submission and thus it we don't need to pass the Ghost
OpenGL context to it in a hacky way.
Also, rename drawViewEnd (to submitToSwapchain) and remove
drawViewBegin.

Commit Details:

Full Hash: 31b8350b017dd6841656348f040e03d237883e09
Parent Commit: d7a2167
Lines Changed: +12, -29

5 Modified Paths:

/intern/ghost/GHOST_Types.h (+1, -4) (Diff)
/intern/ghost/intern/GHOST_IXRGraphicsBinding.h (+2, -4) (Diff)
/intern/ghost/intern/GHOST_XRGraphicsBinding.cpp (+4, -12) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+2, -4) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+3, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021