0023525: Disappearing of highlight in screenshot
authorkgv <kgv@opencascade.com>
Fri, 25 Jan 2013 10:52:59 +0000 (14:52 +0400)
committerkgv <kgv@opencascade.com>
Fri, 25 Jan 2013 10:52:59 +0000 (14:52 +0400)
commit1981cb228a711cc80e1980a1d2933dc2a874084c
tree131d6e2f847c62771040a8353a6d8725f1c4c6f6
parentf34eec8f911018c619f2accd5e6a407ebcf1057b
0023525: Disappearing of highlight in screenshot

OpenGl immediate mode - get rid from GL display lists

Visual3d_TransientManager, Graphic3d_GraphicDriver:
removed outdated unused methods to draw primitives in immediate mode.
New Draw Harness command to swith rendering mode in immediate mode.

When set to false scene will be always redrawn in back buffer.
V3d_View::ToPixMap - temporarily switch immediate mode to draw into back buffer

Make happy immediate mode dump on OpenGL without FBO (like ms software implementation).
OpenGl_Workspace::RedrawImmediatMode - invalidate back buffer when immediate mode drawn into it
Added more detailed description for Graphic3d_GraphicDriver::SetImmediateModeDrawToFront method

Adding of test case
15 files changed:
src/Graphic3d/Graphic3d_GraphicDriver.cdl
src/OpenGl/FILES
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_GraphicDriver.hxx
src/OpenGl/OpenGl_GraphicDriver_8.cxx [deleted file]
src/OpenGl/OpenGl_Workspace.cxx
src/OpenGl/OpenGl_Workspace.hxx
src/OpenGl/OpenGl_Workspace_2.cxx
src/OpenGl/OpenGl_Workspace_3.cxx
src/OpenGl/OpenGl_Workspace_4.cxx
src/V3d/V3d_View.cxx
src/ViewerTest/ViewerTest_OpenGlCommands.cxx
src/Visual3d/Visual3d_TransientManager.cdl
src/Visual3d/Visual3d_TransientManager.cxx
tests/bugs/vis/bug23525 [new file with mode: 0755]