Blender Git Loki

Git Commits -> Revision b5b359b

Revision b5b359b by Antonis Ryakiotakis (master)
February 25, 2015, 12:51 (GMT)
Warning messagebox for windows when an unsupported implementation of
OpenGL is detected:

Hoping to decrease the frequency of by far one of the most frequent bug
reports by windows users.

There is some reorganization of the GHOST API to allow easy addition of
further OpenGL options in the future. The change is not propagated too
deep to keep the size of the patch managable. We might reorganize things
here later.

For OpenGL we do two checks here:
One is a combination of GDI generic renderer or vendor microsoft
corporation and OpenGL version 1.1. This means the system does not
use GPU acceleration at all. We warn user to install a graphics
driver and of cases where this might happen (remote connection, using
blender through virtual machine)

The other one just checks if OpenGL version is less than 1.4 (we can
easily change that in the future of course) and warns that it is
deprecated.

Both cases will still let blender startup correctly but users should now
have a clear idea of the system being unsupported.

A user preference flag is provided to turn the warning off.

Now stop posting those bug reports without installing a driver first -
please?

Commit Details:

Full Hash: b5b359b48f7f35a79b3eec8534f363952485212d
Parent Commit: 1da5e8d
Lines Changed: +128, -63

24 Modified Paths:

/intern/ghost/GHOST_C-api.h (+1, -2) (Diff)
/intern/ghost/GHOST_ISystem.h (+1, -2) (Diff)
/intern/ghost/GHOST_Types.h (+11, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+2, -4) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.cpp (+31, -3) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.h (+3, -0) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+8, -3) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.h (+2, -3) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+2, -3) (Diff)
/intern/ghost/intern/GHOST_SystemNULL.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_SystemSDL.cpp (+5, -4) (Diff)
/intern/ghost/intern/GHOST_SystemSDL.h (+1, -2) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+4, -4) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+2, -3) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+4, -9) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+1, -2) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+9, -3) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+6, -3) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+4, -3) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+5, -0) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+7, -4) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Application.cpp (+13, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021