-
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
Add sanitized prebuilt packages #31
Comments
I think you should end them in Go like I do. I was treating them as an automatically generated extension. EXT_automagic_go ;) I was about to add uintptr versions of the functions that take unsafe.Pointers but actually want pointer sized offsets. I have not come up with a good suffix for them yet. I have found that I generally use the offset form, so a uintptr would be better. You may also want to hold off until the gopher overlords figure out the go pointers in c problem as well. |
EDIT: stay technical |
@capnm: Since glow is part of go-gl now, it would probably be best to post this kind of message on the go-gl mailing list instead of in an issue tracker. Don't want to derail another issue thread. |
Nevermind about holding off seems a copying/moving GC won't happen till go 1.6 a full year away. |
Following @bryanturley's lead Glow should consider offering "sanitized" packages with a friendlier API. As a first pass I expect two things. One, including only relevant, high-quality extensions. Two, providing functions that use the OpenGL parameter length information (e.g., transforming
gl.BindSamplers(first uint32, count uint32, samplers *uint32)
togl.BindSamplersGlow(first uint, samplers []uint32)
.The text was updated successfully, but these errors were encountered: