-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I'm currently investigating my options for writing an OpenGL application for both desktop and web and this repository seems the be the best candidate - good work!
It is a while since it was forked from "golang.org/x/mobile/gl" and it seems that there were quite some major changes - adding WebGL support wasn't one of them.
One change I like particularly is the render-thread: Applications use a glctx-object that exposes the OpenGL functionality, but the calls to that context are only pushed into a channel and executed later by a dedicated render thread. This improves multithreading / go-routine support greatly.
I'm not able to use "golang.org/x/mobile/gl" due to the lack of WebGL support (I don't need to support mobile). And I also don't like the fact that desktop applications require the ANGLE dlls instead of using the OpenGL bindings from go-gl - but I can live with that.
Is it possible for goxjs to adapt those features or to be updated to the newest version of golang.org/x/mobile/gl?
Which changes would be required to do so?