mobile/gl
Nigel Tao d2bd2a29d0 gl: provide dummy impl when cgo is disabled
The dummy implementation doesn't do anything (at runtime), but it does
compile (when CGO_ENABLED=0), which e.g. unbreaks some build bots.

The work_other.go file is new, faking what's in work.go.

The changes to the other (existing) files simply re-order the
GOOS-related build constraints to be in a consistent order (alphabetical
order), the same as the existing order in work.go.

Fixes golang/go#32837

Change-Id: I19a196d4307b9ebc2f770fe41e1aec717a699288
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/185017
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Nigel Tao <nigeltao@golang.org>
2019-07-19 00:42:57 +00:00
..
consts.go gl: ES 3.0 constants 2016-06-15 15:09:55 +00:00
dll_windows.go x/mobile/gl: fix windows context3 and dlls 2016-10-13 20:58:55 +00:00
doc.go gl: support for GL ES 3.0 2016-06-09 14:35:26 +00:00
fn.go gl: support (Create|Bind|Delete)VertexArray for GL ES 3 2017-09-10 23:20:06 +00:00
gendebug.go gl: provide dummy impl when cgo is disabled 2019-07-19 00:42:57 +00:00
gl.go gl: provide dummy impl when cgo is disabled 2019-07-19 00:42:57 +00:00
gldebug.go gl: provide dummy impl when cgo is disabled 2019-07-19 00:42:57 +00:00
interface.go gl: add internalFormat to TexImage2D 2018-09-07 22:41:11 +00:00
types_debug.go gl: provide dummy impl when cgo is disabled 2019-07-19 00:42:57 +00:00
types_prod.go gl: provide dummy impl when cgo is disabled 2019-07-19 00:42:57 +00:00
work.c gl: add OpenBSD support 2017-11-26 19:47:19 +00:00
work.go app,exp,gl: fix build 2019-03-06 14:40:52 +00:00
work.h gl: add OpenBSD support 2017-11-26 19:47:19 +00:00
work_other.go gl: provide dummy impl when cgo is disabled 2019-07-19 00:42:57 +00:00
work_windows.go gl: fix typos in multiple places 2018-01-17 09:46:58 +00:00
work_windows_386.s x/mobile/gl: fix building on windows/386 2016-10-26 17:46:18 +00:00
work_windows_amd64.s x/mobile/gl: include textflag.h in work_windows_amd64.s 2015-12-17 17:59:11 +00:00