0028826: Visualization, TKOpenGl - fix compatibility with strict OpenGL ES drivers
authorkgv <kgv@opencascade.com>
Thu, 8 Jun 2017 07:44:17 +0000 (10:44 +0300)
committermkv <mkv@opencascade.com>
Tue, 13 Jun 2017 09:01:42 +0000 (12:01 +0300)
commit177781da922e123b9e04f1b3da223dfa8734f29d
tree77c91837f5450d879aeca486f3c34e44fb9d54c7
parent8ae442a8cbcd50d4c59a7024b198646123387579
0028826: Visualization, TKOpenGl - fix compatibility with strict OpenGL ES drivers

OpenGl_ShaderProgram::Initialize() - precision declarations have been moved
after the list of enabled extensions.

Declarations.glsl - the fragment shader outputs have been re-declared as array
for proper assignment of default locations (draw buffers).

OpenGl_FrameBuffer - GL_HALF_FLOAT is now used instead of GL_HALF_FLOAT_OES on OpenGL ES 3.2+.
OpenGl_Texture - fixed initialization of Image_Format_RGB32 image format on OpenGL ES 3.0+.
src/OpenGl/OpenGl_FrameBuffer.cxx
src/OpenGl/OpenGl_GlFunctions.hxx
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_ShaderProgram.cxx
src/OpenGl/OpenGl_Texture.cxx
src/OpenGl/OpenGl_View_Redraw.cxx
src/Shaders/Declarations.glsl
src/Shaders/Shaders_Declarations_glsl.pxx