0030166: Visualization, TKOpenGl - add option OpenGl_Caps::glslDumpLevel dumping...
authormnv <mnv@opencascade.com>
Thu, 27 Sep 2018 13:30:48 +0000 (16:30 +0300)
committerapn <apn@opencascade.com>
Wed, 10 Oct 2018 15:48:37 +0000 (18:48 +0300)
commit84e847557add7c94d414cdbc1b61e72fbfde0dc7
tree4726812808f30cd0e2e3a5662cd1f6b03c351025
parentdce5b3eb0c3814802bade97009739d8a9b2f6a91
0030166: Visualization, TKOpenGl - add option OpenGl_Caps::glslDumpLevel dumping the source code of the shader program

Added new option -glslcode for vgldebug command with the following values:
- off   disables glsl source code dump;
- short to dump glsl source code in short format (except common declarations);
- full  to dump glsl source code in full format.
src/OpenGl/FILES
src/OpenGl/OpenGl_Caps.cxx
src/OpenGl/OpenGl_Caps.hxx
src/OpenGl/OpenGl_ShaderProgram.cxx
src/OpenGl/OpenGl_ShaderProgramDumpLevel.hxx [new file with mode: 0644]
src/ViewerTest/ViewerTest_ViewerCommands.cxx