Make OpenGL debug contexts a flag --debug-gpu instead of a compile time
authorAntony Riakiotakis <kalast@gmail.com>
Thu, 2 Jul 2015 17:30:08 +0000 (19:30 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Thu, 2 Jul 2015 17:30:17 +0000 (19:30 +0200)
commit00808eb39ac04c484fcabac6b18666cb2a0191e7
tree68319846e12dee6ababd82db4a4d28c1dcfe1c71
parenta5b2841aa0c4b1b90d29077ba174ed31ae8ee4d9
Make OpenGL debug contexts a flag --debug-gpu instead of a compile time
option.

This makes sense, since contexts get created at runtime, there is little
reason to require recompilation for this.

Only works on linux currently, will be doing more OSs later
13 files changed:
CMakeLists.txt
intern/ghost/GHOST_Types.h
intern/ghost/intern/GHOST_ContextGLX.h
intern/ghost/intern/GHOST_SystemX11.cpp
intern/ghost/intern/GHOST_WindowX11.cpp
intern/ghost/intern/GHOST_WindowX11.h
source/blender/blenkernel/BKE_global.h
source/blender/gpu/GPU_debug.h
source/blender/gpu/intern/gpu_debug.c
source/blender/gpu/intern/gpu_init_exit.c
source/blender/gpu/intern/gpu_private.h
source/blender/windowmanager/intern/wm_window.c
source/creator/creator.c