glow icon indicating copy to clipboard operation
glow copied to clipboard

Go binding generator for OpenGL

Results 14 glow issues
Sort by recently updated
recently updated
newest added

This issue made because https://github.com/go-gl/gl/issues/18 is the wrong repository for it. This is the exact same issue that had to be resolved back in the old bindings https://github.com/go-gl/glfw/issues/78, the most...

Fixes https://github.com/go-gl/gl/issues/109 # Design Document https://docs.google.com/document/d/1mqquznil9fR2amtb3eTC2ObCx3A8Af_5INqKjO-pKDg/edit?usp=sharing # tl;dr I propose to eliminate Cgo usages on Windows from go-gl/gl by fixing go-gl/glow to generate code using syscall.Syscall.

Hi @errcw (/cc @ajhager, @slimsag), You might've seen me mention you in the discussion at https://github.com/ajhager/webgl/pull/2. I'm starting to wonder if it would be possible and viable to use glow...

question

For example https://github.com/errcw/glow/blob/master/xml/spec/egl.xml#L179 gives `DEFAULT_DISPLAY = ((EGLNativeDisplayType)0)` needs to be rewritten to `DEFAULT_DISPLAY = C.EGLNativeDisplayType(0)` UPDATE: needs more work ./package.go:120: cannot convert 0 (type int) to type C.EGLNativeDisplayType

bug

_While it is possible to achieve type safety for constants passed to GL functions, I think it would be a breaking change._ What I ask for is to declare a...

Not really an issue, just another idea dump. I have found this debug binding to be very useful, you guys may want to implement something similar. https://github.com/bryanturley/gl/blob/master/dbg/gl.go#L31 It doesn't do...

enhancement

My original cgo bindings took 4 minutes to compile with go (WITH GO). That was on tip between 1.1 and 1.2. 4 minutes! go compile times really spoiled me so...

enhancement

Following @bryanturley's lead Glow should consider offering "sanitized" packages with a friendlier API. As a first pass I expect two things. One, including only relevant, high-quality extensions. Two, providing functions...

enhancement

Investigate whether all APIs at a minimum compile and can be initialized.

bug

The `DrawElementsInstanced` takes a pointer that specifies the offset in the indices. Any chance for a `WithOffset` variant? Same goes for `ReadPixels`, which takes a Buffer offset in case of...