2
0
mirror of synced 2025-02-23 06:48:15 +00:00

go.mobile/gl: OpenGL ES 2 bindings

A new set of bindings, as none of the existing open source
ones meet all the desired criteria:

- just ES 2/3, no deprecated/wider interfaces
- no hiding of GL functions behind higher-level interfaces
- no exported use of C types
- no other library dependencies
- no exported use of unsafe.Pointer
- use Go slices for passing arrays

Function stubs were generated from the gl.xml spec file,
however there were enough special cases (and few enough
functions in the ES spec) that it was easier to construct
most of this file by hand rather than complete a generator
script. So it is not included in this CL.

LGTM=adg
R=golang-codereviews, bryanturley, adg, capnm9
CC=golang-codereviews
https://golang.org/cl/127870043
This commit is contained in:
David Crawshaw 2014-08-25 08:17:08 -04:00
parent 4b6d21f64f
commit 0394fdc6fe

1592
gl/gl.go Normal file

File diff suppressed because it is too large Load Diff