Here is a statically-linked package to open a OpenGL canvas and process
You can get it with:
go get code.google.com/p/glcv-go/canvas
Run the examples with:
go run test.go
I haven't tested the Windows/X11 code because I only have a Mac handy right
now. Feedback on results/patches would be great.
It isn't tied to a specific OpenGL package (only the tests are).
The tricky part was statically-linking on OSX. The linker has problems with
Objective C and my (uber-dirty) solution was to use clang -rewrite-objc and
modify manually the resulting mess.
I still have to change the critical paths so they don't call
sel_registerName() and friends, but...