mobile/gl
Dmitri Shuralyov a01c060faa gl: Improve API signatures to match spec, improve docs.
Reorder DrawElements arguments to match OpenGL spec order:
    DrawElements(mode, ty, offset, count) -> (mode, count, ty, offset)
GetActiveAttrib, GetActiveUniform are defined by spec to accept
corresponding integer _index_, not location type. Change their
signature to do that:
    GetActiveAttrib(p Program, a Attrib) -> (p Program, index uint32)
    GetActiveUniform(p Program, u Uniform) -> (p Program, index uint32)
Clarify and make documentation, parameter names more clear for Uniform
(uniform location), Attrib (attribute location) types,
EnableVertexAttribArray, DisableVertexAttribArray, GetAttribLocation,
GetUniformLocation funcs.
Resolves golang/go#10218 again.

Change-Id: I5b822235d9485701186a43dae0b9fd898cc6a3d8
Reviewed-on: https://go-review.googlesource.com/8166
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-03-30 19:58:17 +00:00
..
glutil gl: use better spec-defined func names, fix bug, increase consistency 2015-03-25 21:38:11 +00:00
consts.go go.mobile/gl: f32 utilities and extra debugging 2014-09-17 18:07:50 -04:00
doc.go gl: fix documentation URL 2014-12-11 21:20:01 +00:00
gendebug.go gl: build on darwin/arm 2015-02-19 15:56:40 +00:00
gl.go gl: Improve API signatures to match spec, improve docs. 2015-03-30 19:58:17 +00:00
gldebug.go gl: Improve API signatures to match spec, improve docs. 2015-03-30 19:58:17 +00:00
types_common.go gl: use better spec-defined func names, fix bug, increase consistency 2015-03-25 21:38:11 +00:00
types_debug.go mobile: limit app/font/gl packages to linux/darwin. 2015-01-15 20:16:28 +00:00
types_prod.go gl: Improve API signatures to match spec, improve docs. 2015-03-30 19:58:17 +00:00