0027811: Configuration - allow building TKOpenGl with OpenGL ES on Windows
authorkgv <kgv@opencascade.com>
Wed, 31 Aug 2016 16:34:32 +0000 (19:34 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 8 Sep 2016 07:46:58 +0000 (10:46 +0300)
commit1ce0716bb1c66843f8046e4504badc5b759eea41
tree4a2c4dfa4bc15318cb3fdeccfce31c52baaa9474
parent21a2b7ccf4fe8b673fbada2d80259b600f98b2c2
0027811: Configuration - allow building TKOpenGl with OpenGL ES on Windows

OpenGl_ShaderManager::prepareStdProgramFboBlit() now tries using extension
GL_EXT_frag_depth within OpenGL ES 2.0 when OpenGL ES 3.0 is not available.
OpenGl_View::blitBuffers() now disables Depth test
when copying depth values is not supported by OpenGL ES 2.0 hardware.

Fixed building for UWP with SDK 10.0.10240.0
Fixed building TKService, TKV3d and TKOpenGl for UWP.

OSD_Environment now defines global environment map
for emulating desktop behavior on UWP.
37 files changed:
CMakeLists.txt
adm/cmake/egl.cmake [new file with mode: 0644]
adm/cmake/gles2.cmake [new file with mode: 0644]
adm/cmake/occt_csf.cmake
adm/cmake/tcl.cmake
adm/cmake/tk.cmake
adm/cmake/vardescr.cmake
adm/genconf.tcl
adm/genconfdeps.tcl
adm/genproj.tcl
adm/templates/OpenCASCADEConfig.cmake.in
adm/templates/custom.build.bat.in
adm/templates/custom.install.bat.in
adm/templates/env.bat
adm/templates/env.bat.in
adm/templates/env.sh
src/Aspect/Aspect_NeutralWindow.cxx [new file with mode: 0644]
src/Aspect/Aspect_NeutralWindow.hxx [new file with mode: 0644]
src/Aspect/FILES
src/Font/Font_FontMgr.cxx
src/OSD/OSD_Environment.cxx
src/OSD/OSD_signal.cxx
src/OpenGl/OpenGl_AVIWriter.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_GlFunctions.hxx
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_GraphicDriver.hxx
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_View_Redraw.cxx
src/OpenGl/OpenGl_Window.cxx
src/Standard/Standard_Mutex.cxx
src/ViewerTest/ViewerTest_OpenGlCommands.cxx
src/WNT/WNT_WClass.cxx
src/WNT/WNT_WClass.hxx
src/WNT/WNT_Window.cxx
src/WNT/WNT_Window.hxx