-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenGL 4.6 support. #90
Comments
I believe the right answer is to change the default source where we fetch the XML files. It appears that Khronos maintains its GitHub repositories but not its SVN ones. Unfortunately it means pulling the files from more locations. The docs appear to be located in https://github.com/KhronosGroup/OpenGL-Refpages, and egl.xml appears to be located in https://github.com/KhronosGroup/EGL-Registry. Perhaps the easiest answer is to remove the download command and instead add documentation from where to fetch the files? |
I rewrote main.go and download.go (link, branch OpenGL4.6) to fetch the XML files from GitHub but there is a problem with hourly rate limit. For unauthenticated requests, the rate limit is 60 requests per hour which is not enough to download all the files. |
We can make it a requirement to supply a github token to get the authenticated rate limit of 5000 per hour. |
I made support for GitHub basic auth. |
I'm attempting to resolve this in #92. |
When I try to download gl.xml, the empty file is returned. The cause of the error is the file size:
Please check the pull request "Add support for download of files larger than 1 MB.". |
Yes. You can close the issue. |
Use glow download to fetch the latest XML data. This is needed to be able to generate OpenGL 4.6 gl packages. Updates #90.
We should download and commit the latest XML from the new source to fully resolve this issue. Reopening for that. |
When I did
glow download
in #89, it fetched the latest XML from our current source athttps://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
:However, even the latest version of that repository, at this moment, does not yet contain definitions for OpenGL 4.6. It contains 4.5 as the latest version.
The alternative source at
https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/master/xml/gl.xml
that @kjozic found contains 4.6.We need to decide what to do to add support for OpenGL 4.6 to
glow
:/cc @errcw Need your input on this decision.
The text was updated successfully, but these errors were encountered: