Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#34 Forward compatible version

open
nobody
None
5
2012-09-15
2009-08-11
Anonymous
No

Would it be possible to make a forward compatible version of GLEW, which only defines and initializes entry points and constants which are not deprecated in the given version (could be an extra option for the auto scripts, also extensions which depend on deprecated features would have to be removed))? This would be helpful in creating GL3-compliant programs and would reduce initialization times etc.

Discussion

  • Stephane Denis
    Stephane Denis
    2009-08-15

    This is already done, by _glewInit_GLEW_VERSION_3_0

    However the current version is buggy

    • Some functions entry point are missing (like GL_ARB_framebuffer_object).
    • It tries to initialize GL_VERSION_1_2 - 1_5
     
  • l0calh05t
    l0calh05t
    2009-11-15

    Do you mean _glewInit_GL_VERSION_3_0 ? That only intializes the additional entry points. Forward compatible means a version which only defines the non-deprecated functions. This would require an additional generator script (but would result in smaller code, since quite a lot would be removed)

     
  • But _glewInit_GLEW_VERSION_3_0 deals with only part of the original poster's request: not initializing deprecated functionality. However, they are still defined. I think what is needed is a version that is based off the definitions in gl3.h + extensions that don't depend on deprecated stuff.

     


Anonymous


Cancel   Add attachments