-
Notifications
You must be signed in to change notification settings - Fork 1
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
OpenGL support for other platforms #6
Comments
Yes and no. I have two (maybe 3) options for OpenGL support.
Right now I've picked 2 because it was easy to do. I don't have a computer with macOS or Windows on it to test any cross platform API. |
I would go with the first option. MacOS uses something called NSOpenGL for context creation and it's pretty easy to integrate. |
After looking at the eglgears example once again, it seems that EGL and NSOpenGL have a lot in common, and creating a small translation layer shouldn't be that hard. At least to provide the basic functionality. |
I have done a bit of research and I have created a small translation layer to translate EGL to NSOpenGL https://github.com/SamoZ256/NSEGL. Might be useful in the future. |
At its current state, libwsi only support EGL for OpenGL context creation. The functions and files all feature EGL in its name, which makes it pretty much impossible to add another context creation API right now. Are there any future plans to change this?
The text was updated successfully, but these errors were encountered: