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

Headless rendering doesn't work on windows #20365

Open
jdm opened this issue Mar 20, 2018 · 4 comments
Open

Headless rendering doesn't work on windows #20365

jdm opened this issue Mar 20, 2018 · 4 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Mar 20, 2018

Right after setting up a GL object, we invoke these GL methods. However, our get_proc_address implementation on windows is a stub so this immediately backfires.

@SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Mar 20, 2018

Our headless rendering is based on OS Mesa, but it looks like we only compile it on Linux and OS X. @emilio, do you know why?

@emilio
Copy link
Member

@emilio emilio commented Mar 20, 2018

I think that's just because we only run reftests on those platforms IIRC

@jdm
Copy link
Member Author

@jdm jdm commented May 10, 2019

The build script is based on unix tools, so it's not a straightforward fix. It's possible that the updated mesa that relies on meson instead of autotools might be easier.

@jdm
Copy link
Member Author

@jdm jdm commented May 10, 2019

Another option might be to build a Windows-specific headless mode that's based on ANGLE (which just merged in #22856) somehow. https://github.com/stackgl/headless-gl/blob/master/src/webgl.cc might be a usable model.

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
3 participants
You can’t perform that action at this time.