0025305: Visualization, TKOpenGl - support stipple line aspects within built-in GLSL...
authorisk <isk@opencascade.com>
Mon, 8 Jun 2015 13:13:31 +0000 (16:13 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 10 Jun 2015 08:06:05 +0000 (11:06 +0300)
commitac116c221fa4208d50dd2d54695227fd10b31ace
treef779afa4769ba2452ab16b507832d4160876d1d6
parent751955d4d79b0f12f645e9f5f7ca1f4d328318da
0025305: Visualization, TKOpenGl - support stipple line aspects within built-in GLSL programs

OpenGl_LineAttributes - drop display lists for stipple lines.
OpenGl_Context - add methods OpenGl_Context::SetTypeOfLine() and OpenGl_Context::SetLineWidth() to setup line aspects.
OpenGl_ShaderManager::prepareStdProgramFlat() - support new bit OpenGl_PO_StippleLine.

vaspects command - add -setlinetype option.
13 files changed:
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_GraphicDriver_Layer.cxx
src/OpenGl/OpenGl_LineAttributes.cxx
src/OpenGl/OpenGl_LineAttributes.hxx
src/OpenGl/OpenGl_PrimitiveArray.cxx
src/OpenGl/OpenGl_SetOfShaderPrograms.hxx
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_ShaderManager.hxx
src/OpenGl/OpenGl_Workspace.cxx
src/OpenGl/OpenGl_Workspace_5.cxx
src/ViewerTest/ViewerTest.cxx
tests/v3d/glsl/stipple_line [new file with mode: 0644]