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

switch openGL-loader to GLAD #339

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

switch openGL-loader to GLAD #339

wants to merge 14 commits into from

Conversation

umlaeute
Copy link
Owner

@umlaeute umlaeute commented Feb 22, 2023

this PR drops glew (whih has deprecated multi-context support a while ago) in favour of glad (which does support multi-context and is still actively developed)

umlaeute and others added 14 commits February 24, 2023 19:19
- normalize source-code while copying it
- GLAD/glew compat
on Apple, a GLhandleARB is really (void*), while everywhere else it is (GLuint).
this makes it hard to write code that works the same on both platforms
(for little gain)
There's virtually no hardware that supports GL_EXT_texture_*, but not
openGL-2.0.
If there is, then I'm sorry (but don't regret it)
- import sources
- build GLAD
- start using GLAD-headers (most things fail)
- add some separators for ease of code-navigation
- properly include glu.h (this was previously handled by glew.h)
- replace GLXEW_ with GLAD_GLX_*
- streamlined GemContext for glad (and made it more wrangler-agnostic)
it's really not a base-class for objects...
- fix typo in help-patch
- pass "sharedcontext" message to [gemwin]
- add some action to the squares
@umlaeute
Copy link
Owner Author

umlaeute commented Feb 25, 2023

regressions

  • [gemmacoswindow] crashes on creation
  • [gemglutwindow] on macOS (???)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deprecate glew-mx in favour of...
1 participant