]> OCCT Git - occt-copy.git/commit
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)
committerkgv <kgv@opencascade.com>
Sat, 17 Mar 2018 12:29:50 +0000 (15:29 +0300)
commit6719c143180981996b69a5ad365fc094304a66dc
tree3172873405b07402aa9491e49622f1b31b63a3b4
parent7ab3bd4b1c0665745770727e914dfe11707c984c
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