0024732: OpenGl_Context - retrieve functions up to GL4.4
authorkgv <kgv@opencascade.com>
Thu, 20 Mar 2014 09:50:28 +0000 (13:50 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 20 Mar 2014 09:51:05 +0000 (13:51 +0400)
commit01ca42b2c104686be01bf97e8a38c836eb42edda
tree6a77c7fcd7cd05e8d3cb5c687c4df216ff245bcc
parent228de226a16d5986787c0387b3ad9922c209c396
0024732: OpenGl_Context - retrieve functions up to GL4.4

Drop unused OpenGl_ArbVBO.
Replace OpenGl_ExtFBO with OpenGl_ArbFBO.

OpenGl_Context - reorganize GL functions management.
OpenGl_GlFunctions structure now stores pointers for all GL functions,
while inheritors specify functions subset using access levels.
Drop fields core12, core13, core14; replace extFBO by arbFBO.

OpenGl_ArbIns, OpenGl_ArbTBO - use GL3.1 core functions
instead of ARB extensions when available.

OpenGl_ArbFBO - provide complete list of functions

OpenGl_GlCore11 - fix misprint

OpenGl_Context.hxx - remove redundant declarations
34 files changed:
src/OpenGl/FILES
src/OpenGl/OpenGl_ArbDbg.hxx
src/OpenGl/OpenGl_ArbFBO.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_ArbIns.hxx
src/OpenGl/OpenGl_ArbTBO.hxx
src/OpenGl/OpenGl_ArbVBO.hxx [deleted file]
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_ExtFBO.hxx [deleted file]
src/OpenGl/OpenGl_ExtGS.hxx
src/OpenGl/OpenGl_FrameBuffer.cxx
src/OpenGl/OpenGl_FrameBuffer.hxx
src/OpenGl/OpenGl_GlCore11.hxx
src/OpenGl/OpenGl_GlCore11Fwd.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore12.hxx
src/OpenGl/OpenGl_GlCore13.hxx
src/OpenGl/OpenGl_GlCore14.hxx
src/OpenGl/OpenGl_GlCore15.hxx
src/OpenGl/OpenGl_GlCore20.hxx
src/OpenGl/OpenGl_GlCore21.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore30.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore31.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore32.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore33.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore40.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore41.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore42.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore43.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlCore44.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_GlFunctions.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_Texture.cxx
src/OpenGl/OpenGl_TextureBufferArb.cxx
src/ViewerTest/ViewerTest_OpenGlCommands.cxx