Skip to content
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

GL/glplatform.h header #9

Closed
abbradar opened this issue Jan 29, 2017 · 3 comments
Closed

GL/glplatform.h header #9

abbradar opened this issue Jan 29, 2017 · 3 comments

Comments

@abbradar
Copy link

@abbradar abbradar commented Jan 29, 2017

Generated gl.h file mentions GL/glplatform.h, but I can't find any mention of this file anywhere. Is there a mistake or have I just searched too shallowly?

@oddhack

This comment has been minimized.

Copy link
Contributor

@oddhack oddhack commented Jan 29, 2017

Nobody actually uses this header and it has not been throughly debugged. That's why it isn't linked from the registry web page. There was some notional interest by some of the Linux distributors / Mesa folks in moving to an autogenerated header instead of their handwritten header, and to that end we would probably want to capture the horrid conditional logic for platform-dependent stuff in a separate glplatform.h, but we haven't closed on all the issues involved yet. I'll track this fact somehow, probably by a comment in the header. Or maybe just remove it from the tree, it can still always be built from the scripts.

@abbradar

This comment has been minimized.

Copy link
Author

@abbradar abbradar commented Jan 29, 2017

That was exactly what I was interested in trying (move a cross-platform package set, Nixpkgs, to those autogenerated headers instead of Mesa ones). I'll just stick to Mesa for now; thanks for the explanation!

@oddhack

This comment has been minimized.

Copy link
Contributor

@oddhack oddhack commented Feb 4, 2017

I pulled the gl.h/glx.h/wgl.h headers out of the tree and left some comments in the xml/ directory on their existence for those inclined to experiment. Hopefully that's a good medium.

@oddhack oddhack closed this Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.