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:
parent
4b6d21f64f
commit
0394fdc6fe