0024131: TKOpenGL redesign GPU memory management for markers presentation
authorkgv <kgv@opencascade.com>
Fri, 30 Aug 2013 16:37:02 +0000 (20:37 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 5 Sep 2013 09:23:03 +0000 (13:23 +0400)
commita577aaabf9400029fd0971b61b761a1bbc1704e7
tree3af6999eeff020ea7b93039ab14145aa8ac318d4
parentaabe3a17dd4016eea84f9eec2090dd9fd4220b32
0024131: TKOpenGL redesign GPU memory management for markers presentation

Introduce Point Sprites usage.
Graphic3d_Group - drop Marker(),MarkerSet() methods - markers should be drawn using AddPrimitiveArray.
Added new Draw Harness commands vcaps, vmarkerstest.
70 files changed:
samples/mfc/standard/03_Viewer2d/src/Viewer2dDoc.cpp
samples/mfc/standard/Common/OCC_2dView.cpp
samples/mfc/standard/Common/Primitive/Sample2D_Markers.cpp
samples/mfc/standard/Common/Primitive/Sample2D_Markers.h
src/AIS/AIS_Point.cxx
src/Aspect/Aspect.cdl
src/Aspect/Aspect_MarkerStyle.cxx
src/DsgPrs/DsgPrs.cxx
src/DsgPrs/DsgPrs_FixPresentation.cxx
src/DsgPrs/DsgPrs_IdenticPresentation.cxx
src/DsgPrs/DsgPrs_OffsetPresentation.cxx
src/DsgPrs/DsgPrs_SymmetricPresentation.cxx
src/Graphic3d/FILES
src/Graphic3d/Graphic3d.cdl
src/Graphic3d/Graphic3d_ArrayOfPoints.cdl
src/Graphic3d/Graphic3d_ArrayOfPoints.cxx
src/Graphic3d/Graphic3d_AspectMarker3d.cdl
src/Graphic3d/Graphic3d_AspectMarker3d.cxx
src/Graphic3d/Graphic3d_CGroup.hxx
src/Graphic3d/Graphic3d_GraphicDriver.cdl
src/Graphic3d/Graphic3d_Group.cdl
src/Graphic3d/Graphic3d_Group_3.cxx [deleted file]
src/Graphic3d/Graphic3d_Group_8.cxx
src/Graphic3d/Graphic3d_MarkerImage.cxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_MarkerImage.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_MarkerImage_Handle.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_Structure.cxx
src/InterfaceGraphic/InterfaceGraphic_Graphic3d.hxx
src/MeshVS/MeshVS_MeshPrsBuilder.cxx
src/MeshVS/MeshVS_TextPrsBuilder.cxx
src/OpenGl/FILES
src/OpenGl/Handle_OpenGl_PointSprite.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_AspectMarker.cxx
src/OpenGl/OpenGl_AspectMarker.hxx
src/OpenGl/OpenGl_Caps.cxx
src/OpenGl/OpenGl_Caps.hxx
src/OpenGl/OpenGl_Display.cxx
src/OpenGl/OpenGl_Display.hxx
src/OpenGl/OpenGl_Display_2.cxx
src/OpenGl/OpenGl_GraphicDriver.hxx
src/OpenGl/OpenGl_GraphicDriver_3.cxx
src/OpenGl/OpenGl_GraphicDriver_4.cxx
src/OpenGl/OpenGl_GraphicDriver_703.cxx [deleted file]
src/OpenGl/OpenGl_Group.cxx
src/OpenGl/OpenGl_Group.hxx
src/OpenGl/OpenGl_Marker.cxx [deleted file]
src/OpenGl/OpenGl_Marker.hxx [deleted file]
src/OpenGl/OpenGl_MarkerSet.cxx [deleted file]
src/OpenGl/OpenGl_MarkerSet.hxx [deleted file]
src/OpenGl/OpenGl_PointSprite.cxx [new file with mode: 0644]
src/OpenGl/OpenGl_PointSprite.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_PrimitiveArray.cxx
src/OpenGl/OpenGl_PrimitiveArray.hxx
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_Structure.hxx
src/OpenGl/OpenGl_Texture.cxx
src/OpenGl/OpenGl_Texture.hxx
src/OpenGl/OpenGl_Workspace.cxx
src/OpenGl/OpenGl_Workspace_2.cxx
src/Prs3d/Prs3d_Point.hxx
src/Prs3d/Prs3d_PointAspect.cdl
src/Prs3d/Prs3d_PointAspect.cxx
src/Prs3d/Prs3d_WFShape.cxx
src/StdSelect/StdSelect_ViewerSelector3d.cxx
src/V3d/V3d_CircularGrid.cxx
src/V3d/V3d_RectangularGrid.cxx
src/V3d/V3d_Viewer_4.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/bugs/vis/bug24131_markers [new file with mode: 0644]