Open
Description
Hi @errcw (/cc @ajhager, @slimsag),
You might've seen me mention you in the discussion at ajhager/webgl#2.
I'm starting to wonder if it would be possible and viable to use glow (possibly with some degree of modifications to allow for this) to generate an interface with multiple backends.
For example, https://github.com/ajhager/webgl currently provides (sorry about the misleading repo name) a webgl-like API that actually has 2 backend implementations:
- WebGL
- OpenGL 2.1
After thinking about it, it seems a better approach would be to use the OpenGL ES 2 spec as the interface, and provide those 2 backends (and possibly more).
Do you think glow
can be useful here? Feel free to ask any questions about this if you want me to elaborate or explain. Thanks!