-
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
EGL: C syntax #16
Comments
CGO needs another headers relevant cgo bug: |
The issue with C.EGLClientPixmapHI (and C.AHardwareBuffer) is that they're declared as And instead of the |
The incorrect struct types boil down to this difference in gl.xml: The |
One final issue is the large number of object types, such as EGLConfig, EGLNativeDisplayType, and many others. I'm reluctant to change all of these to uintptr, but I don't think glow has a mechanism for making these first class types? |
I still cannot get EGL to compile. It is still showing the |
For example
https://github.com/errcw/glow/blob/master/xml/spec/egl.xml#L179
gives
DEFAULT_DISPLAY = ((EGLNativeDisplayType)0)
needs to be rewritten to
DEFAULT_DISPLAY = C.EGLNativeDisplayType(0)
UPDATE:
needs more work
./package.go:120: cannot convert 0 (type int) to type C.EGLNativeDisplayType
The text was updated successfully, but these errors were encountered: