Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: .spec files

  1. #1
    Junior Member Regular Contributor Lucretia's Avatar
    Join Date
    Mar 2000
    Location
    Leeds, West Yorkshire, England
    Posts
    117

    .spec files

    Hi, I'm looking to generate some GL bindings so they are up to date and can be kept up to date when there is a new release. I don't know much about Mac development - I do have one. I would like to include Mac too, so are there any AGL/CGL spec files like there is for WGL/GLX?

    Thanks,
    Luke
    Luke A. Guest

  2. #2
    Junior Member Regular Contributor Lucretia's Avatar
    Join Date
    Mar 2000
    Location
    Leeds, West Yorkshire, England
    Posts
    117
    Ok then, going by the number of views and lack of responses, it looks like people want there to be, but there isn't. No big deal, how hard would it be to create simple cgl.spec, cglext.spec, cglenum.spec, cglenumext.spec and cgl.tm anyway? Not that hard by the looks of it.
    Luke A. Guest

  3. #3
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    What would it matter to do this for CGL? Those things are provided by Apple and kept up-to-date by them. There are no extensions for Core OpenGL. Also, they're in Objective-C, which has very different needs than C or C++ does.

  4. #4
    Junior Member Regular Contributor Lucretia's Avatar
    Join Date
    Mar 2000
    Location
    Leeds, West Yorkshire, England
    Posts
    117
    Well, I originally thought AGL was the C api but from Apple's docs it reads as if CGL is the C api and AGL is the ObjC api.

    And like I said this to make automatic generatioon of language bindings easier to maintain.

    Luke
    Luke A. Guest

  5. #5
    Intern Contributor nigels's Avatar
    Join Date
    Apr 2000
    Location
    Texas, USA
    Posts
    87
    Quote Originally Posted by Lucretia View Post
    And like I said this to make automatic generatioon of language bindings easier to maintain.
    Regal has CGL as a Python file: https://github.com/p3/regal/blob/master/scripts/cgl.py

    In principle this could be converted to and from .spec, .xml, or whatever.
    Some of the CGL entry points are undocumented, so this list isn't complete.

    - Nigel
    ---
    Regal - as OpenGL ought to be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •