Blender Git Commit Log

Git Commits -> Revision 8d084e8

Revision 8d084e8 by Jason Wilkins (master)
October 7, 2014, 20:47 (GMT)
Ghost Context Refactor
https://developer.blender.org/D643
Separates graphics context creation from window code in Ghost so that they can vary separately.

Commit Details:

Full Hash: 8d084e8c8f48dd2f07d4a3fbd4a941a7bcc0dcfb
Parent Commit: a8705e9
Lines Changed: +63955, -2669

34 Added Paths:

/build_files/cmake/Modules/FindOpenGLES.cmake (+76, -0) (View)
/extern/glew-es/CMakeLists.txt (+57, -0) (View)
/extern/glew-es/include/GL/eglew.h (+1470, -0) (View)
/extern/glew-es/include/GL/glesew.h (+4318, -0) (View)
/extern/glew-es/include/GL/glew.h (+20525, -0) (View)
/extern/glew-es/include/GL/glxew.h (+1649, -0) (View)
/extern/glew-es/include/GL/wglew.h (+1424, -0) (View)
/extern/glew-es/SConscript (+14, -0) (View)
/extern/glew-es/src/glew.c (+22401, -0) (View)
/intern/ghost/intern/GHOST_Context.cpp (+155, -0) (View)
/intern/ghost/intern/GHOST_Context.h (+161, -0) (View)
/intern/ghost/intern/GHOST_ContextCGL.h (+153, -0) (View)
/intern/ghost/intern/GHOST_ContextCGL.mm (+351, -0) (View)
/intern/ghost/intern/GHOST_ContextEGL.cpp (+638, -0) (View)
/intern/ghost/intern/GHOST_ContextEGL.h (+167, -0) (View)
/intern/ghost/intern/GHOST_ContextGLX.cpp (+341, -0) (View)
/intern/ghost/intern/GHOST_ContextGLX.h (+150, -0) (View)
/intern/ghost/intern/GHOST_ContextNone.cpp (+79, -0) (View)
/intern/ghost/intern/GHOST_ContextNone.h (+97, -0) (View)
/intern/ghost/intern/GHOST_ContextSDL.cpp (+204, -0) (View)
/intern/ghost/intern/GHOST_ContextSDL.h (+127, -0) (View)
/intern/ghost/intern/GHOST_ContextWGL.cpp (+876, -0) (View)
/intern/ghost/intern/GHOST_ContextWGL.h (+184, -0) (View)
/intern/glew-mx/CMakeLists.txt (+41, -0) (View)
/intern/glew-mx/glew-mx.h (+112, -0) (View)
/intern/glew-mx/intern/gl-deprecated.h (+872, -0) (View)
/intern/glew-mx/intern/glew-mx.c (+139, -0) (View)
/intern/glew-mx/intern/symbol-binding.h (+305, -0) (View)
/intern/glew-mx/SConscript (+16, -0) (View)
/intern/locale/osx_user_locale.mm (+22, -0) (View)
/source/blender/gpu/GPU_glew.h (+37, -0) (View)
/source/blender/gpu/GPU_init_exit.h (+46, -0) (View)
/source/blender/gpu/intern/gpu_extensions_private.h (+32, -0) (View)
/source/blender/gpu/intern/gpu_init_exit.c (+68, -0) (View)

202 Modified Paths:

/build_files/cmake/macros.cmake (+11, -7) (Diff)
/build_files/scons/tools/btools.py (+15, -0) (Diff)
/CMakeLists.txt (+267, -39) (Diff)
/extern/CMakeLists.txt (+7, -5) (Diff)
/extern/glew/CMakeLists.txt (+5, -1) (Diff)
/extern/glew/include/GL/glew.h (+2216, -280) (Diff)
/extern/glew/include/GL/glxew.h (+279, -197) (Diff)
/extern/glew/include/GL/wglew.h (+258, -200) (Diff)
/extern/glew/SConscript (+6, -3) (Diff)
/extern/glew/src/glew.c (+2250, -78) (Diff)
/extern/SConscript (+5, -1) (Diff)
/intern/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/app/CMakeLists.txt (+5, -2) (Diff)
/intern/cycles/blender/CMakeLists.txt (+2, -1) (Diff)
/intern/cycles/cmake/external_libs.cmake (+5, -6) (Diff)
/intern/cycles/device/CMakeLists.txt (+2, -2) (Diff)
/intern/cycles/render/CMakeLists.txt (+3, -1) (Diff)
/intern/cycles/SConscript (+6, -1) (Diff)
/intern/cycles/util/CMakeLists.txt (+3, -1) (Diff)
/intern/cycles/util/util_opengl.h (+1, -2) (Diff)
/intern/cycles/util/util_view.cpp (+1, -1) (Diff)
/intern/ghost/CMakeLists.txt (+74, -44) (Diff)
/intern/ghost/GHOST_C-api.h (+10, -2) (Diff)
/intern/ghost/GHOST_IWindow.h (+10, -2) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+10, -9) (Diff)
/intern/ghost/intern/GHOST_ISystem.cpp (+21, -18) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+12, -48) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+26, -34) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+1, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+0, -1) (Diff)
/intern/ghost/intern/GHOST_Window.cpp (+57, -11) (Diff)
/intern/ghost/intern/GHOST_Window.h (+55, -52) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+8, -38) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+106, -234) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.cpp (+48, -136) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.h (+9, -16) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+117, -491) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+10, -87) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+110, -284) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+5, -44) (Diff)
/intern/ghost/SConscript (+54, -14) (Diff)
/intern/ghost/test/CMakeLists.txt (+6, -0) (Diff)
/intern/locale/boost_locale_wrapper.cpp (+1, -2) (Diff)
/intern/locale/boost_locale_wrapper.h (+5, -1) (Diff)
/intern/locale/CMakeLists.txt (+5, -0) (Diff)
/intern/locale/SConscript (+4, -0) (Diff)
/intern/opencolorio/CMakeLists.txt (+3, -1) (Diff)
/intern/opencolorio/ocio_impl.cc (+0, -7) (Diff)
/intern/opencolorio/ocio_impl_glsl.cc (+1, -1) (Diff)
/intern/opencolorio/SConscript (+3, -2) (Diff)
/intern/SConscript (+1, -0) (Diff)
/SConstruct (+43, -0) (Diff)
/source/blender/blenfont/CMakeLists.txt (+3, -1) (Diff)
/source/blender/blenfont/SConscript (+4, -2) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+2, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/smoke.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+1, -2) (Diff)
/source/blender/blenkernel/SConscript (+3, -5) (Diff)
/source/blender/editors/animation/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/animation/SConscript (+4, -2) (Diff)
/source/blender/editors/armature/CMakeLists.txt (+4, -1) (Diff)
/source/blender/editors/armature/SConscript (+4, -3) (Diff)
/source/blender/editors/gpencil/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/gpencil/SConscript (+3, -2) (Diff)
/source/blender/editors/include/BIF_gl.h (+1, -1) (Diff)
/source/blender/editors/interface/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/interface/SConscript (+3, -2) (Diff)
/source/blender/editors/mask/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/mask/SConscript (+4, -2) (Diff)
/source/blender/editors/mesh/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/mesh/SConscript (+3, -2) (Diff)
/source/blender/editors/object/CMakeLists.txt (+4, -1) (Diff)
/source/blender/editors/physics/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/physics/SConscript (+4, -2) (Diff)
/source/blender/editors/render/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -2) (Diff)
/source/blender/editors/render/SConscript (+3, -2) (Diff)
/source/blender/editors/screen/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/screen/SConscript (+3, -2) (Diff)
/source/blender/editors/sculpt_paint/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/sculpt_paint/SConscript (+3, -2) (Diff)
/source/blender/editors/space_action/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_action/SConscript (+6, -2) (Diff)
/source/blender/editors/space_buttons/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_buttons/SConscript (+5, -2) (Diff)
/source/blender/editors/space_clip/CMakeLists.txt (+4, -1) (Diff)
/source/blender/editors/space_clip/SConscript (+5, -2) (Diff)
/source/blender/editors/space_console/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_console/SConscript (+5, -2) (Diff)
/source/blender/editors/space_file/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_file/SConscript (+4, -2) (Diff)
/source/blender/editors/space_graph/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_graph/SConscript (+4, -2) (Diff)
/source/blender/editors/space_image/CMakeLists.txt (+5, -2) (Diff)
/source/blender/editors/space_image/SConscript (+4, -2) (Diff)
/source/blender/editors/space_info/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_info/SConscript (+4, -2) (Diff)
/source/blender/editors/space_logic/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_logic/SConscript (+4, -2) (Diff)
/source/blender/editors/space_nla/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_nla/SConscript (+4, -2) (Diff)
/source/blender/editors/space_node/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/space_node/SConscript (+4, -2) (Diff)
/source/blender/editors/space_outliner/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_outliner/SConscript (+5, -2) (Diff)
/source/blender/editors/space_script/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_script/SConscript (+4, -2) (Diff)
/source/blender/editors/space_sequencer/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_sequencer/SConscript (+4, -2) (Diff)
/source/blender/editors/space_text/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_text/SConscript (+6, -2) (Diff)
/source/blender/editors/space_time/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_time/SConscript (+4, -2) (Diff)
/source/blender/editors/space_view3d/CMakeLists.txt (+2, -1) (Diff)
/source/blender/editors/space_view3d/SConscript (+4, -2) (Diff)
/source/blender/editors/transform/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/transform/SConscript (+4, -3) (Diff)
/source/blender/editors/util/CMakeLists.txt (+3, -1) (Diff)
/source/blender/editors/util/SConscript (+5, -2) (Diff)
/source/blender/editors/uvedit/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/uvedit/SConscript (+3, -2) (Diff)
/source/blender/gpu/CMakeLists.txt (+6, -1) (Diff)
/source/blender/gpu/GPU_extensions.h (+0, -2) (Diff)
/source/blender/gpu/GPU_material.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+3, -3) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+5, -5) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+33, -4) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+6, -15) (Diff)
/source/blender/gpu/intern/gpu_material.c (+0, -2) (Diff)
/source/blender/gpu/intern/gpu_select.c (+2, -3) (Diff)
/source/blender/gpu/intern/gpu_simple_shader.c (+1, -1) (Diff)
/source/blender/gpu/SConscript (+3, -3) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+3, -0) (Diff)
/source/blender/makesrna/intern/SConscript (+4, -2) (Diff)
/source/blender/makesrna/SConscript (+3, -2) (Diff)
/source/blender/modifiers/CMakeLists.txt (+0, -1) (Diff)
/source/blender/modifiers/SConscript (+0, -1) (Diff)
/source/blender/nodes/CMakeLists.txt (+3, -0) (Diff)
/source/blender/nodes/SConscript (+3, -3) (Diff)
/source/blender/python/generic/bgl.c (+1, -1) (Diff)
/source/blender/python/generic/CMakeLists.txt (+3, -1) (Diff)
/source/blender/python/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/python/SConscript (+4, -3) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+4, -2) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+5, -2) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+12, -10) (Diff)
/source/blender/windowmanager/SConscript (+6, -2) (Diff)
/source/blender/windowmanager/wm_window.h (+2, -2) (Diff)
/source/blenderplayer/CMakeLists.txt (+1, -1) (Diff)
/source/creator/CMakeLists.txt (+16, -0) (Diff)
/source/creator/creator.c (+0, -15) (Diff)
/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp (+3, -2) (Diff)
/source/gameengine/BlenderRoutines/CMakeLists.txt (+2, -1) (Diff)
/source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp (+3, -3) (Diff)
/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h (+2, -1) (Diff)
/source/gameengine/BlenderRoutines/SConscript (+3, -4) (Diff)
/source/gameengine/GamePlayer/common/CMakeLists.txt (+2, -1) (Diff)
/source/gameengine/GamePlayer/common/GPC_Canvas.h (+1, -1) (Diff)
/source/gameengine/GamePlayer/common/SConscript (+3, -4) (Diff)
/source/gameengine/GamePlayer/ghost/CMakeLists.txt (+2, -1) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Application.cpp (+4, -3) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp (+3, -3) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Canvas.h (+1, -1) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+7, -16) (Diff)
/source/gameengine/GamePlayer/ghost/SConscript (+3, -4) (Diff)
/source/gameengine/Ketsji/BL_Shader.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/BL_Texture.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/CMakeLists.txt (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Dome.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Dome.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+4, -2) (Diff)
/source/gameengine/Ketsji/SConscript (+3, -2) (Diff)
/source/gameengine/Physics/Bullet/CMakeLists.txt (+3, -0) (Diff)
/source/gameengine/Physics/Bullet/SConscript (+3, -2) (Diff)
/source/gameengine/Rasterizer/CMakeLists.txt (+2, -1) (Diff)
/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_ICanvas.h (+2, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/CMakeLists.txt (+2, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.cpp (+2, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageIM.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVA.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVBO.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVBO.h (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript (+3, -2) (Diff)
/source/gameengine/Rasterizer/SConscript (+4, -2) (Diff)
/source/gameengine/VideoTexture/CMakeLists.txt (+2, -1) (Diff)
/source/gameengine/VideoTexture/ImageBase.cpp (+1, -1) (Diff)
/source/gameengine/VideoTexture/ImageRender.cpp (+1, -1) (Diff)
/source/gameengine/VideoTexture/ImageViewport.cpp (+1, -1) (Diff)
/source/gameengine/VideoTexture/SConscript (+4, -2) (Diff)
/source/gameengine/VideoTexture/Texture.cpp (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021