Skip to content

Migrate from GLEW to GLAD #14440

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

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

Conversation

cryptomilk
Copy link
Contributor

@cryptomilk cryptomilk commented Apr 13, 2025

GLEW is unmaintained and libvgcode already uses GLAD.

@cryptomilk cryptomilk force-pushed the asn-glad-ok branch 4 times, most recently from 2b25383 to 0d6672f Compare April 14, 2025 05:40
@cryptomilk cryptomilk changed the title Draft: Migrate from GLEW to GLAD Migrate from GLEW to GLAD Apr 14, 2025
@cryptomilk
Copy link
Contributor Author

This works fine for me. Couldn't find any issues.

@cryptomilk
Copy link
Contributor Author

FYI: As GLEW is unmaintained and provides only GLX support and no EGL support in the latest release, we would like to get rid of it in Fedora and also other distributions are trying to do the same thing. Moving to GLAD allows to use wxWidgets with EGL support and get it natively running on Wayland.

@cryptomilk
Copy link
Contributor Author

Hello Prusa, someone listening?

@cryptomilk
Copy link
Contributor Author

The patchset is in openSUSE Tumbleweed https://build.opensuse.org/package/show/science/PrusaSlicer

Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the
official specs.

https://github.com/Dav1dde/glad

Signed-off-by: Andreas Schneider <[email protected]>
As static linking is used everywhere we can link GLAD only once.

Signed-off-by: Andreas Schneider <[email protected]>
As libvgcode already uses GLAD there is no need for GLEW, which is
unmaintained anyway.

Signed-off-by: Andreas Schneider <[email protected]>
As libvgcode already uses GLAD there is no need for GLEW, which is
unmaintained anyway.

Signed-off-by: Andreas Schneider <[email protected]>
Signed-off-by: Andreas Schneider <[email protected]>
@cryptomilk
Copy link
Contributor Author

Rebased on master

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

Successfully merging this pull request may close these issues.

1 participant