0026122: Visualization, TKOpenGl - clipping and capping is broken when ffp is disable...
authorkgv <kgv@opencascade.com>
Fri, 16 Oct 2015 05:50:46 +0000 (08:50 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 22 Oct 2015 07:28:59 +0000 (10:28 +0300)
commit79f4f0361870fc32b3f872e759cf705e7a469a90
tree4b5c309042b0cbf53ccdb5c1df26ebee918e5751
parent3a398392b4a5c607c782aa5c0a9d4da9ce2b836f
0026122: Visualization, TKOpenGl - clipping and capping is broken when ffp is disabled on Linux

OpenGl_Clipping - do not setup clipping planes using FFP when it is disabled.

OpenGl_ShaderManager - apply 2d texture coordinates transformation in GLSL programs.
OpenGl_Context::SetTextureMatrix() - move texture matrix assignment from OpenGl_Workspace::setTextureParams() to OpenGl_Context.

Add test case demo/samples/dimensionsglsl with FFP turned OFF.
Add test case v3d/glsl/texture_trsf applying texture transformation.

Small correction of test case for issue CR26122
18 files changed:
src/OpenGl/OpenGl_CappingAlgo.cxx
src/OpenGl/OpenGl_CappingPlaneResource.cxx
src/OpenGl/OpenGl_Clipping.cxx
src/OpenGl/OpenGl_Clipping.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_LineAttributes.cxx
src/OpenGl/OpenGl_PrimitiveArray.cxx
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_ShaderProgram.cxx
src/OpenGl/OpenGl_ShaderProgram.hxx
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_View_Redraw.cxx
src/OpenGl/OpenGl_Workspace.cxx
src/Shaders/Declarations.glsl
src/Shaders/DeclarationsImpl.glsl
tests/demo/samples/dimensionsglsl [new file with mode: 0644]
tests/v3d/glsl/texture_trsf [new file with mode: 0644]