mobile/gl/glutil
Dmitri Shuralyov eaba00bca5 gl: use better spec-defined func names, fix bug, increase consistency
Change func names and parameter order to more closely follow OpenGL
ES/WebGL spec.
    BufferData(target, usage, src) -> BufferData(target, src, usage)
    GenBuffer -> CreateBuffer
    GenFramebuffer -> CreateFramebuffer
    GenRenderbuffer -> CreateRenderbuffer
    GenTexture -> CreateTexture
Fix issue where glBoolean helper was returning inverted result.
Make Attrib.String() logic consistent with others (print value, not
struct).
Make internal code of GetUniformLocation the same as GetAttribLocation
and BindAttribLocation for consistency.
Resolves golang/go#10218.

Change-Id: Ib33dfff7c22c4d178b2e6b8d228f80f3c17308a8
Reviewed-on: https://go-review.googlesource.com/8000
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-03-25 21:38:11 +00:00
..
context_darwin_amd64.go gl/glutil: context is only for desktop darwin 2015-02-21 01:04:00 +00:00
context_x11.go go.mobile/gl/glutil: enable glimage_test on linux/X11. 2014-11-03 10:31:19 +11:00
glimage.go gl: use better spec-defined func names, fix bug, increase consistency 2015-03-25 21:38:11 +00:00
glimage_test.go gl: use better spec-defined func names, fix bug, increase consistency 2015-03-25 21:38:11 +00:00
glutil.go mobile: add import comments. 2014-12-10 01:59:04 +00:00