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

OSMesa on MinGW64 #1311

Open
ghost opened this issue Aug 6, 2018 · 1 comment
Open

OSMesa on MinGW64 #1311

ghost opened this issue Aug 6, 2018 · 1 comment
Labels
support Windows Win32 specific (not Cygwin or WSL)

Comments

@ghost
Copy link

ghost commented Aug 6, 2018

I'm trying to statically compile GLFW and allow for a software rendering fallback. SDL provides SDL_CreateSoftwareRenderer, which works great. Now, I'm trying to do similar with GLFW.
As I understand GLFW's use of OSMesa allows to use Mesa to render Offscreen and then push that buffer to the GLFW Window.

  1. Can GLFW be statically compiled to take OSMesa in?

  2. MSYS2 provides a win32 wrapper for dlfcn, which is how I compiled GLFW in the first place. Using
    glfwWindowHint(GLFW_CONTEXT_CREATION_API , GLFW_OSMESA_CONTEXT_API); It doesn't seem to detect the provided osmesa.dll and errors out with OSMesa: Library not found (As I understand it, it shouldn't, as dlfcn wasn't made to work with .dlls in the first place). So am I using GLFW wrong here?

@linkmauve linkmauve added Windows Win32 specific (not Cygwin or WSL) support labels Oct 9, 2018
@nkindt
Copy link

nkindt commented Feb 26, 2019

related - #589

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Windows Win32 specific (not Cygwin or WSL)
Projects
None yet
Development

No branches or pull requests

2 participants