pygame-web / pkg-porting-wasm

Tracks porting efforts on some modules you'd like to have working in pygbag
https://pygame-web.github.io/wiki/pkg/
5 stars 0 forks source link

moderngl #14

Open VantaTree opened 1 year ago

VantaTree commented 1 year ago

Github: https://github.com/moderngl/moderngl Documentation: https://moderngl.readthedocs.io/en/latest/

pmp-p commented 1 year ago

moderngl builds and can produce a wheel but it relies on moderngl_window for all samples

do you know any EGL sample or based upon GLES ? EGL has no concept of window and is probably the way for offscreen rendering, while GLES1/2/3 are the GL norm on mobile and are very close to WebGL

edit NVM: i found it https://github.com/moderngl/moderngl/blob/master/examples/headless_egl.py i'll try asap

pmp-p commented 1 year ago

glcontext - which need a dynamic wrapper for libGL is needed too first - it will take more time than expected