occt: master bf75be98
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
kgv | kgv | master | 2012-12-07 09:58:30 | master ab8fcacf |
Affected Issues | 0023544: Texture management in TKOpenGl should be redesigned | |||
Changeset | 0023544: Texture management in TKOpenGl should be redesigned Structures Graphic3d_CView, Graphic3d_CStructure, Graphic3d_CGroup become classes and their definitions moved from InterfaceGraphic to Graphic3d. Introduced new class OpenGl_Texture as replacement for OpenGl_ResourceTexture class and static functions in OpenGl_TextureBox. Graphic3d_TextureRoot now no more communicate within Graphic3d_GraphicalDriver. Instead class returns image through GetImage() method. OpenGl_AspectFace - avoid possible NULL-dereference OpenGl_Texture::Init() - check gluBuild2DMipmaps() return value OpenGl_Texture - check GL_BGRA_EXT for compatibility OpenGl_Texture - scale NPOT image when required Added more description to Graphic3d_TextureRoot class OpenGl_Texture - added missing break statement for ImgBGR32 case OpenGl_Workspace::setTextureParams() - fixed local variable aFilterMin overrides visibility of early declared variable OpenGl_Workspace::DisableTexture() - reset texture matrix FTGL do not reset texture matrix and corrupt text could be rendered if custom texture has not identity texture matrix. |
|||
mod - .gitignore | Diff File | |||
mod - src/AIS/AIS_TexturedShape.cxx | Diff File | |||
mod - src/Graphic3d/FILES | Diff File | |||
mod - src/Graphic3d/Graphic3d.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_CGroup.hxx | Diff File | |||
rm - src/Graphic3d/Graphic3d_CInitTexture.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_CStructure.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_CTexture.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_CView.hxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_GraphicDriver.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_Group.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Group_8.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Structure.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_Structure.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture1D.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture1D.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture1Dmanual.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture1Dmanual.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture1Dsegment.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture1Dsegment.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture2D.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture2D.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture2Dmanual.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture2Dmanual.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture2Dplane.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_Texture2Dplane.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_TextureEnv.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_TextureEnv.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_TextureMap.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_TextureMap.cxx | Diff File | |||
add - src/Graphic3d/Graphic3d_TextureParams.cdl | Diff File | |||
add - src/Graphic3d/Graphic3d_TextureParams.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_TextureRoot.cdl | Diff File | |||
mod - src/Graphic3d/Graphic3d_TextureRoot.cxx | Diff File | |||
mod - src/Image/FILES | Diff File | |||
mod - src/Image/Image_PixMap.hxx | Diff File | |||
mod - src/InterfaceGraphic/InterfaceGraphic_Graphic3d.hxx | Diff File | |||
mod - src/InterfaceGraphic/InterfaceGraphic_Visual3d.hxx | Diff File | |||
mod - src/MeshVS/MeshVS_NodalColorPrsBuilder.cxx | Diff File | |||
mod - src/NCollection/NCollection_Vec2.hxx | Diff File | |||
mod - src/NCollection/NCollection_Vec3.hxx | Diff File | |||
mod - src/OpenGl/FILES | Diff File | |||
mod - src/OpenGl/OpenGl_AspectFace.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_AspectFace.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_AspectLine.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_AspectLine.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_AspectMarker.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_AspectMarker.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_AspectText.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_AspectText.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Context.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Context.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Element.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_GraphicDriver.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_GraphicDriver_3.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_GraphicDriver_4.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_GraphicDriver_7.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_GraphicDriver_9.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Group.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Group.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Marker.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_MarkerSet.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Polygon.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Polyline.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_PrimitiveArray.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_PrimitiveArray.hxx | Diff File | |||
rm - src/OpenGl/OpenGl_ResourceTexture.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Structure.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Structure.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Text.cxx | Diff File | |||
add - src/OpenGl/OpenGl_Texture.cxx | Diff File | |||
add - src/OpenGl/OpenGl_Texture.hxx | Diff File | |||
rm - src/OpenGl/OpenGl_TextureBox.cxx | Diff File | |||
rm - src/OpenGl/OpenGl_TextureBox.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Trihedron.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_View.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_View.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_View_2.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Workspace.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Workspace.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Workspace_3.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Workspace_5.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx | Diff File | |||
mod - src/Visual3d/Visual3d_TransientManager.cxx | Diff File | |||
mod - src/Visual3d/Visual3d_View.cxx | Diff File | |||
mod - src/Visual3d/Visual3d_ViewManager.cxx | Diff File |