-
Notifications
You must be signed in to change notification settings - Fork 24
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
Generating EGL bindings fails #67
Comments
@errcw, do you know what's wrong here? |
egl is the wrong flag for opengl es. Building egl with a matching version flag (not 3.1) works fine. Please consider adding prebuilt packages for the different gles2 versions. |
Yup, you're right, EGL is a different thing from OpenGL ES. The command I'll leave this bug open (retitled) to reflect the issue. |
Actually this problem is already captured in #16, so I'll close this issue. I've updated the README to reflect that Glow will generate gles1 and gles2 APIs. I'd consider adding prebuilt packages but I'm on a Mac without access to khrplatform.h and therefore have no way to verify whether the output is correct so I'm really hesitant to commit blindly. If you'd like to contribute a known-working version that'd be great! |
Though interestingly working on this issue did uncover a problem generating |
Regarding contributing a known-working version: Since I filed the bug I have converted most of my OpenGL stuff to the gles2 api (so far without problems, v3.0 and v3.1, typical deferred renderer, so switching between framebuffers, multiple render targets etc, that should cover a pretty large fraction of the api). If that level of testing is sufficient I am happy to contribute those. |
I'm really glad to hear the GLES API is working! If you're interested in contributing I think the right path forward would be for you to propose a pull request to go-gl/gl that (1) updates |
This command:
./glow generate -api=egl -version=3.1
Fails with this message:
2016/01/30 17:49:24 unable to generate package: &{egl 2.0 my_home_folder/go/src/github.com/go-gl/glow/tmpl .* $^ false}
OS: Debian stretch
If I understood the README correctly, this should generate ES 3.1 bindings.
The text was updated successfully, but these errors were encountered: