occt: master 5f8b738e

Author Committer Branch Timestamp Parent
kgv kgv master 2012-03-15 09:58:13 master 13b4230b
Changeset 0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one place

Extend OpenGl_Context to provide GL2.0 core functionality

Added 'glext.h' header provided by Khronos group with definitions
and GL functions' types.
Added OpenGl_GlCoreXX structures with function list
to appropriate GL core functionality.
Fixed memory leak in OpenGl_Context destructor.
Eliminate inclusions of gl.h header
Use OpenGl_GlCore11.hxx instead.
Removed obsolote M_PI redefinitions.
Slightly cleaned up included headers.
Reuse definitions from glext.h
OpenGl_ArbVBO and OpenGl_ExtFBO originally provide own definitions
for OpenGL extensions.
mod - src/OpenGl/FILES Diff File
add - src/OpenGl/glext.h Diff File
mod - src/OpenGl/OpenGl_ArbVBO.hxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_Context.hxx Diff File
mod - src/OpenGl/OpenGl_Display.cxx Diff File
mod - src/OpenGl/OpenGl_Display_2.cxx Diff File
mod - src/OpenGl/OpenGl_ExtFBO.hxx Diff File
mod - src/OpenGl/OpenGl_FrameBuffer.hxx Diff File
add - src/OpenGl/OpenGl_GlCore11.hxx Diff File
add - src/OpenGl/OpenGl_GlCore12.hxx Diff File
add - src/OpenGl/OpenGl_GlCore13.hxx Diff File
add - src/OpenGl/OpenGl_GlCore14.hxx Diff File
add - src/OpenGl/OpenGl_GlCore15.hxx Diff File
add - src/OpenGl/OpenGl_GlCore20.hxx Diff File
mod - src/OpenGl/OpenGl_GraduatedTrihedron.cxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver_2.cxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver_9.cxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver_Layer.cxx Diff File
mod - src/OpenGl/OpenGl_LayerList.cxx Diff File
mod - src/OpenGl/OpenGl_Marker.cxx Diff File
mod - src/OpenGl/OpenGl_MarkerSet.cxx Diff File
mod - src/OpenGl/OpenGl_Memory.hxx Diff File
mod - src/OpenGl/OpenGl_Mesh.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
mod - src/OpenGl/OpenGl_PrinterContext.hxx Diff File
mod - src/OpenGl/OpenGl_QuadrangleStrip.cxx Diff File
mod - src/OpenGl/OpenGl_Resource.hxx Diff File
mod - src/OpenGl/OpenGl_ResourceCleaner.hxx Diff File
mod - src/OpenGl/OpenGl_ResourceTexture.cxx Diff File
mod - src/OpenGl/OpenGl_ResourceVBO.cxx Diff File
mod - src/OpenGl/OpenGl_Structure.cxx Diff File
mod - src/OpenGl/OpenGl_telem_util.cxx Diff File
mod - src/OpenGl/OpenGl_telem_util.hxx Diff File
mod - src/OpenGl/OpenGl_telem_view.cxx Diff File
mod - src/OpenGl/OpenGl_Text.cxx Diff File
mod - src/OpenGl/OpenGl_TextureBox.cxx Diff File
mod - src/OpenGl/OpenGl_TextureBox.hxx Diff File
rm - src/OpenGl/OpenGl_tgl_all.hxx Diff File
mod - src/OpenGl/OpenGl_tgl_funcs.hxx Diff File
rm - src/OpenGl/OpenGl_togl_inquireplane.cxx Diff File
rm - src/OpenGl/OpenGl_togl_texture.cxx Diff File
mod - src/OpenGl/OpenGl_TriangleStrip.cxx Diff File
mod - src/OpenGl/OpenGl_Trihedron.cxx Diff File
mod - src/OpenGl/OpenGl_tsm.hxx Diff File
mod - src/OpenGl/OpenGl_View.cxx Diff File
mod - src/OpenGl/OpenGl_View_1.cxx Diff File
mod - src/OpenGl/OpenGl_View_2.cxx Diff File
mod - src/OpenGl/OpenGl_Window.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace_1.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace_2.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace_3.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace_4.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace_5.cxx Diff File