Blender Git Loki

Git Commits -> Revision cf4799e

June 28, 2019, 11:38 (GMT)
Add wmSurface for non-Window offscreen VR session drawing

Adds a wmSurface type which acts as a container for non-Window (offscreen)
draw surfaces. Ideally wmWindow would of course also just do C-style
inheritance from wmSurface, but I guess they can co-exist too.
For the VR session a surface is created on Linux and passed to the
graphics binding to use.

Note this is not used on Windows yet, it still opens a window there.

Commit Details:

Full Hash: cf4799e299b89fb9fb7d4b1293e0074c2b1dd6ae
Parent Commit: 57d9f00
Lines Changed: +318, -65

2 Added Paths:

/source/blender/windowmanager/intern/wm_surface.c (+118, -0) (View)
/source/blender/windowmanager/wm_surface.h (+53, -0) (View)

7 Modified Paths:

/source/blender/windowmanager/CMakeLists.txt (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+11, -12) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+26, -48) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+103, -3) (Diff)
/source/blender/windowmanager/wm.h (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021