app: make gl.Viewport calls happen on 'the event thread'.

The gl package is not safe for concurrent use.

Change-Id: Ib0e7908746ea3a6520b2ce2f5d8aa7233ab2642c
Reviewed-on: https://go-review.googlesource.com/12165
Reviewed-by: David Crawshaw <crawshaw@golang.org>
4 files changed
tree: 7b0b60569af0aa6f88de51f3a6c3040a95437724
  1. app/
  2. asset/
  3. bind/
  4. cmd/
  5. event/
  6. example/
  7. exp/
  8. geom/
  9. gl/
  10. internal/
  11. testdata/
  12. .gitattributes
  13. .gitignore
  14. AUTHORS
  15. codereview.cfg
  16. CONTRIBUTING.md
  17. CONTRIBUTORS
  18. LICENSE
  19. PATENTS
  20. README.md
README.md

Go support for Mobile devices

The Go mobile repository holds packages and build tools for using Go on Android.

This is early work and installing the build system requires Go 1.5. Follow the build instructions on godoc.org/golang.org/x/mobile/cmd/gomobile to install the gomobile command and build the basic example.


APIs are currently very limited, but under active development. Package documentation serves as a starting point:


Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.