Blender Git Loki

Git Commits -> Revision ef640ec

Revision ef640ec by Mike Erwin (master)
April 22, 2017, 04:35 (GMT)
OpenGL: remove use of GLEW MX

MX (Multiple conteXt) support was dropped from the GLEW 2.0 library to make core profile support cleaner.

Our WITH_GLEW_MX build option was OFF by default already; this commit removes the inactive code paths.

I'm working on a plan for multiple GPUs, contexts, resource sharing, etc. This commit gives us a cleaner starting point for that upcoming work.

Tested on Mac, will test on Linux & Windows immediately after pushing.

Commit Details:

Full Hash: ef640ecf1004f7af9cfde09f5ce1cde2fb70747f
Parent Commit: 1beed61
Lines Changed: +12, -317

21 Modified Paths:

/build_files/cmake/Modules/FindGLEW.cmake (+0, -12) (Diff)
/CMakeLists.txt (+1, -11) (Diff)
/extern/glew-es/CMakeLists.txt (+0, -5) (Diff)
/extern/glew/CMakeLists.txt (+0, -4) (Diff)
/intern/cycles/blender/blender_sync.cpp (+2, -11) (Diff)
/intern/cycles/util/util_opengl.h (+1, -7) (Diff)
/intern/cycles/util/util_view.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_Context.cpp (+1, -5) (Diff)
/intern/ghost/intern/GHOST_Context.h (+1, -10) (Diff)
/intern/ghost/intern/GHOST_ContextCGL.h (+0, -13) (Diff)
/intern/ghost/intern/GHOST_ContextCGL.mm (+0, -3) (Diff)
/intern/ghost/intern/GHOST_ContextEGL.cpp (+2, -31) (Diff)
/intern/ghost/intern/GHOST_ContextEGL.h (+0, -20) (Diff)
/intern/ghost/intern/GHOST_ContextGLX.cpp (+0, -25) (Diff)
/intern/ghost/intern/GHOST_ContextGLX.h (+0, -19) (Diff)
/intern/ghost/intern/GHOST_ContextSDL.cpp (+0, -2) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.cpp (+0, -29) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.h (+0, -19) (Diff)
/intern/glew-mx/glew-mx.h (+0, -29) (Diff)
/intern/glew-mx/intern/glew-mx.c (+0, -58) (Diff)
/source/blender/gpu/intern/gpu_debug.c (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021