Ghost Context Refactor
authorJason Wilkins <Jason.A.Wilkins@gmail.com>
Tue, 7 Oct 2014 20:46:19 +0000 (15:46 -0500)
committerJason Wilkins <Jason.A.Wilkins@gmail.com>
Tue, 7 Oct 2014 20:47:32 +0000 (15:47 -0500)
commit8d084e8c8f48dd2f07d4a3fbd4a941a7bcc0dcfb
tree5bf15f4f74f3e5a307cfa3f734b2cd086dca69bd
parenta8705e99ee8ec9de2f25c3bac1e9895c2f98c224
Ghost Context Refactor
https://developer.blender.org/D643
Separates graphics context creation from window code in Ghost so that they can vary separately.
236 files changed:
CMakeLists.txt
SConstruct
build_files/cmake/Modules/FindOpenGLES.cmake [new file with mode: 0644]
build_files/cmake/macros.cmake
build_files/scons/tools/btools.py
extern/CMakeLists.txt
extern/SConscript
extern/glew-es/CMakeLists.txt [new file with mode: 0644]
extern/glew-es/SConscript [new file with mode: 0644]
extern/glew-es/include/GL/eglew.h [new file with mode: 0644]
extern/glew-es/include/GL/glesew.h [new file with mode: 0644]
extern/glew-es/include/GL/glew.h [new file with mode: 0644]
extern/glew-es/include/GL/glxew.h [new file with mode: 0644]
extern/glew-es/include/GL/wglew.h [new file with mode: 0644]
extern/glew-es/src/glew.c [new file with mode: 0644]
extern/glew/CMakeLists.txt
extern/glew/SConscript
extern/glew/include/GL/glew.h
extern/glew/include/GL/glxew.h
extern/glew/include/GL/wglew.h
extern/glew/src/glew.c
intern/CMakeLists.txt
intern/SConscript
intern/cycles/SConscript
intern/cycles/app/CMakeLists.txt
intern/cycles/blender/CMakeLists.txt
intern/cycles/cmake/external_libs.cmake
intern/cycles/device/CMakeLists.txt
intern/cycles/render/CMakeLists.txt
intern/cycles/util/CMakeLists.txt
intern/cycles/util/util_opengl.h
intern/cycles/util/util_view.cpp
intern/ghost/CMakeLists.txt
intern/ghost/GHOST_C-api.h
intern/ghost/GHOST_IWindow.h
intern/ghost/SConscript
intern/ghost/intern/GHOST_C-api.cpp
intern/ghost/intern/GHOST_Context.cpp [new file with mode: 0644]
intern/ghost/intern/GHOST_Context.h [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextCGL.h [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextCGL.mm [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextEGL.cpp [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextEGL.h [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextGLX.cpp [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextGLX.h [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextNone.cpp [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextNone.h [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextSDL.cpp [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextSDL.h [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextWGL.cpp [new file with mode: 0644]
intern/ghost/intern/GHOST_ContextWGL.h [new file with mode: 0644]
intern/ghost/intern/GHOST_ISystem.cpp
intern/ghost/intern/GHOST_SystemCocoa.mm
intern/ghost/intern/GHOST_SystemWin32.cpp
intern/ghost/intern/GHOST_SystemX11.cpp
intern/ghost/intern/GHOST_SystemX11.h
intern/ghost/intern/GHOST_Window.cpp
intern/ghost/intern/GHOST_Window.h
intern/ghost/intern/GHOST_WindowCocoa.h
intern/ghost/intern/GHOST_WindowCocoa.mm
intern/ghost/intern/GHOST_WindowSDL.cpp
intern/ghost/intern/GHOST_WindowSDL.h
intern/ghost/intern/GHOST_WindowWin32.cpp
intern/ghost/intern/GHOST_WindowWin32.h
intern/ghost/intern/GHOST_WindowX11.cpp
intern/ghost/intern/GHOST_WindowX11.h
intern/ghost/test/CMakeLists.txt
intern/glew-mx/CMakeLists.txt [new file with mode: 0644]
intern/glew-mx/SConscript [new file with mode: 0644]
intern/glew-mx/glew-mx.h [new file with mode: 0644]
intern/glew-mx/intern/gl-deprecated.h [new file with mode: 0644]
intern/glew-mx/intern/glew-mx.c [new file with mode: 0644]
intern/glew-mx/intern/symbol-binding.h [new file with mode: 0644]
intern/locale/CMakeLists.txt
intern/locale/SConscript
intern/locale/boost_locale_wrapper.cpp
intern/locale/boost_locale_wrapper.h
intern/locale/osx_user_locale.mm [new file with mode: 0644]
intern/opencolorio/CMakeLists.txt
intern/opencolorio/SConscript
intern/opencolorio/ocio_impl.cc
intern/opencolorio/ocio_impl_glsl.cc
source/blender/blenfont/CMakeLists.txt
source/blender/blenfont/SConscript
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/SConscript
source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/editderivedmesh.c
source/blender/blenkernel/intern/pbvh.c
source/blender/blenkernel/intern/smoke.c
source/blender/blenkernel/intern/subsurf_ccg.c
source/blender/editors/animation/CMakeLists.txt
source/blender/editors/animation/SConscript
source/blender/editors/armature/CMakeLists.txt
source/blender/editors/armature/SConscript
source/blender/editors/gpencil/CMakeLists.txt
source/blender/editors/gpencil/SConscript
source/blender/editors/include/BIF_gl.h
source/blender/editors/interface/CMakeLists.txt
source/blender/editors/interface/SConscript
source/blender/editors/mask/CMakeLists.txt
source/blender/editors/mask/SConscript
source/blender/editors/mesh/CMakeLists.txt
source/blender/editors/mesh/SConscript
source/blender/editors/object/CMakeLists.txt
source/blender/editors/physics/CMakeLists.txt
source/blender/editors/physics/SConscript
source/blender/editors/render/CMakeLists.txt
source/blender/editors/render/SConscript
source/blender/editors/render/render_opengl.c
source/blender/editors/screen/CMakeLists.txt
source/blender/editors/screen/SConscript
source/blender/editors/sculpt_paint/CMakeLists.txt
source/blender/editors/sculpt_paint/SConscript
source/blender/editors/space_action/CMakeLists.txt
source/blender/editors/space_action/SConscript
source/blender/editors/space_buttons/CMakeLists.txt
source/blender/editors/space_buttons/SConscript
source/blender/editors/space_clip/CMakeLists.txt
source/blender/editors/space_clip/SConscript
source/blender/editors/space_console/CMakeLists.txt
source/blender/editors/space_console/SConscript
source/blender/editors/space_file/CMakeLists.txt
source/blender/editors/space_file/SConscript
source/blender/editors/space_graph/CMakeLists.txt
source/blender/editors/space_graph/SConscript
source/blender/editors/space_image/CMakeLists.txt
source/blender/editors/space_image/SConscript
source/blender/editors/space_info/CMakeLists.txt
source/blender/editors/space_info/SConscript
source/blender/editors/space_logic/CMakeLists.txt
source/blender/editors/space_logic/SConscript
source/blender/editors/space_nla/CMakeLists.txt
source/blender/editors/space_nla/SConscript
source/blender/editors/space_node/CMakeLists.txt
source/blender/editors/space_node/SConscript
source/blender/editors/space_outliner/CMakeLists.txt
source/blender/editors/space_outliner/SConscript
source/blender/editors/space_script/CMakeLists.txt
source/blender/editors/space_script/SConscript
source/blender/editors/space_sequencer/CMakeLists.txt
source/blender/editors/space_sequencer/SConscript
source/blender/editors/space_text/CMakeLists.txt
source/blender/editors/space_text/SConscript
source/blender/editors/space_time/CMakeLists.txt
source/blender/editors/space_time/SConscript
source/blender/editors/space_view3d/CMakeLists.txt
source/blender/editors/space_view3d/SConscript
source/blender/editors/transform/CMakeLists.txt
source/blender/editors/transform/SConscript
source/blender/editors/util/CMakeLists.txt
source/blender/editors/util/SConscript
source/blender/editors/uvedit/CMakeLists.txt
source/blender/editors/uvedit/SConscript
source/blender/gpu/CMakeLists.txt
source/blender/gpu/GPU_extensions.h
source/blender/gpu/GPU_glew.h [new file with mode: 0644]
source/blender/gpu/GPU_init_exit.h [new file with mode: 0644]
source/blender/gpu/GPU_material.h
source/blender/gpu/SConscript
source/blender/gpu/intern/gpu_buffers.c
source/blender/gpu/intern/gpu_codegen.c
source/blender/gpu/intern/gpu_codegen.h
source/blender/gpu/intern/gpu_draw.c
source/blender/gpu/intern/gpu_extensions.c
source/blender/gpu/intern/gpu_extensions_private.h [new file with mode: 0644]
source/blender/gpu/intern/gpu_init_exit.c [new file with mode: 0644]
source/blender/gpu/intern/gpu_material.c
source/blender/gpu/intern/gpu_select.c
source/blender/gpu/intern/gpu_simple_shader.c
source/blender/makesrna/SConscript
source/blender/makesrna/intern/CMakeLists.txt
source/blender/makesrna/intern/SConscript
source/blender/modifiers/CMakeLists.txt
source/blender/modifiers/SConscript
source/blender/nodes/CMakeLists.txt
source/blender/nodes/SConscript
source/blender/python/SConscript
source/blender/python/generic/CMakeLists.txt
source/blender/python/generic/bgl.c
source/blender/python/intern/CMakeLists.txt
source/blender/windowmanager/CMakeLists.txt
source/blender/windowmanager/SConscript
source/blender/windowmanager/intern/wm_draw.c
source/blender/windowmanager/intern/wm_init_exit.c
source/blender/windowmanager/intern/wm_window.c
source/blender/windowmanager/wm_window.h
source/blenderplayer/CMakeLists.txt
source/creator/CMakeLists.txt
source/creator/creator.c
source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
source/gameengine/BlenderRoutines/CMakeLists.txt
source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp
source/gameengine/BlenderRoutines/KX_BlenderCanvas.h
source/gameengine/BlenderRoutines/SConscript
source/gameengine/GamePlayer/common/CMakeLists.txt
source/gameengine/GamePlayer/common/GPC_Canvas.h
source/gameengine/GamePlayer/common/SConscript
source/gameengine/GamePlayer/ghost/CMakeLists.txt
source/gameengine/GamePlayer/ghost/GPG_Application.cpp
source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp
source/gameengine/GamePlayer/ghost/GPG_Canvas.h
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
source/gameengine/GamePlayer/ghost/SConscript
source/gameengine/Ketsji/BL_Shader.cpp
source/gameengine/Ketsji/BL_Texture.cpp
source/gameengine/Ketsji/CMakeLists.txt
source/gameengine/Ketsji/KX_BlenderMaterial.cpp
source/gameengine/Ketsji/KX_Camera.cpp
source/gameengine/Ketsji/KX_Dome.cpp
source/gameengine/Ketsji/KX_Dome.h
source/gameengine/Ketsji/KX_PythonInit.cpp
source/gameengine/Ketsji/SConscript
source/gameengine/Physics/Bullet/CMakeLists.txt
source/gameengine/Physics/Bullet/SConscript
source/gameengine/Rasterizer/CMakeLists.txt
source/gameengine/Rasterizer/RAS_2DFilterManager.cpp
source/gameengine/Rasterizer/RAS_ICanvas.h
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/CMakeLists.txt
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageIM.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVA.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVBO.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVBO.h
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
source/gameengine/Rasterizer/SConscript
source/gameengine/VideoTexture/CMakeLists.txt
source/gameengine/VideoTexture/ImageBase.cpp
source/gameengine/VideoTexture/ImageRender.cpp
source/gameengine/VideoTexture/ImageViewport.cpp
source/gameengine/VideoTexture/SConscript
source/gameengine/VideoTexture/Texture.cpp