Osmesa opengl es 2

Apologize for silly question, is it possible to draw using opengl es 2 in osmesa backend?

I’ve not tried this, but osmesa supports OpenGL ES2 APIs and GLFW allows you to hint at which context you want.

Note - I gave a link to Mesa and not OSMesa above wrongly, see below from @elmindreda .

2 Likes

Mesa supports OpenGL ES via EGL and GLX, but OSMesa (a separate context creation API for offscreen software rendering), does not.

2 Likes

Thanks @elmindreda - my dyslexia gets the better of me again here.

1 Like