commit | 8631054b13b0cd3df046306bd70cb773edbbc340 | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Fri Jul 03 12:32:37 2015 +1000 |
committer | Nigel Tao <nigeltao@golang.org> | Sat Jul 04 02:53:51 2015 +0000 |
tree | 2eb8ce062cce60685fd10ddcda9a9b6f6b92913d | |
parent | c0fb3fcc1e00a099c0fa3d23b07ffbb65f5779db [diff] |
exp/app/debug: fit the FPS counter's aspect ratio to the backing image. Ever since we moved to a bitmap font instead of using freetype, the backing image's dimensions are 43x9, not 50x12, and we might as well match. For example, the output will be exactly 43x9 pixels at 72DPI, or 86x18 pixels at 144DPI, etc. Change-Id: I99975cc780760b28b73fbf6d55befbe500f1a6e1 Reviewed-on: https://go-review.googlesource.com/11880 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
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.