Hi Nick,

Thanks for your message.
As far as I can tell you cannot use OpenGL without Cgo or a native binding 
- like you say it would require reimplementing OpenGL in Go.
We could, however, provide alternative drivers. The Shiny project has pure 
Go drivers for Windows and Linux which avoid OpenGL so that it can avoid 
Cgo.
It would be possible to do the same with Fyne, if someone had the time, but 
of course you would lose potential benefits like hardware acceleration...

Best of luck,
Andrew

On Wednesday, 20 March 2019 11:06:28 UTC, Nick wrote:
>
> Quoth Andrew Williams: 
> > I just wanted to drop a quick announcement here for anyone watching the 
> > progress of Fyne - we have reached 1.0! We now have a stable and 
> performant 
> > base API. 
>
> This looks great, congratulations on reaching 1.0! I had very 
> vaguely been aware of this project, but reading more of your 
> documentation today I'm very impressed and excited to try it out. 
>
> One question, from somebody new-ish to Go: is there scope to have 
> the OpenGL stuff not rely on CGo, and be called purely with native 
> Go? Or would that essentially mean reimplementing full OpenGL stacks 
> for each platform? I'm sure you have good reasons for doing it the 
> way you are, I'm just keen to learn! 
>
> Congratulations to all involved once again, and I look forward to 
> using Fyne soon :) 
>
> Nick 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to