[mirror] Go on Mobile https://golang.org/x/mobile
Go to file
David Crawshaw 0d45604e75 app: remove OS X display link timer
The CGL display link is a timer keyed on screen refresh rate. It made
sense to use it when the app package controlled the screen paint
cycle. Now that the paint cycle control has moved to the user, and
given that we have always made the equivalent of Publish block until
vsync, it is just complicating matters. The user can come up with
their own timer, and safely dedicate a goroutine to event handling
that paints as fast as it likes without running over the vsync time.

A version of this for iOS will follow (giving up on the timer provided
by GLKViewController) when I get my iOS setup working again.

(Note there is also a bug in the way drawgl works presently. This CL
doesn't fix the bug, but is a first step in untangling the draw loop
so I can fix it.)

Change-Id: I464d5b15f018527d98b792026fb3899681f24e4b
Reviewed-on: https://go-review.googlesource.com/15470
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2015-10-07 17:45:10 +00:00
app app: remove OS X display link timer 2015-10-07 17:45:10 +00:00
asset internal/mobileinit: standardize JNIEnv* access 2015-09-14 17:30:52 +00:00
bind bind: add const type support 2015-09-30 20:56:48 +00:00
cmd cmd/gomobile: title case framework bundles 2015-10-02 04:47:58 +00:00
doc README.md: add caution. shorten the README.md. 2015-07-17 17:06:14 +00:00
event gl: move to context methods 2015-09-23 23:46:16 +00:00
example example/ivy/android: fix parens grouping example 2015-10-02 19:42:16 +00:00
exp exp/sensor: remove the init signal 2015-10-07 15:45:14 +00:00
geom app: use one thread for both GL and other UI C code. 2015-06-26 07:43:17 +00:00
gl gl: fix comment, simplify queue capacity 2015-10-05 21:06:53 +00:00
internal internal/mobileinit: standardize JNIEnv* access 2015-09-14 17:30:52 +00:00
misc/androidstudio misc/androidstudio: handle missing local.properties. 2015-09-11 20:14:45 +00:00
testdata example/sprite: make example lives 2014-12-22 13:10:48 +00:00
.gitattributes mobile: copying .gitattributes to all subrepositories 2014-12-23 23:23:25 +00:00
.gitignore .gitignore: remove *.xcodeproj 2015-09-03 14:46:33 +00:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTING.md doc: add CONTRIBUTING.md 2015-02-18 23:42:31 +00:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README.md docs: provide a template for the new issues 2015-10-06 05:09:24 +00:00
codereview.cfg mobile: add codereview.cfg 2015-03-18 17:03:44 +00:00

README.md

Go support for Mobile devices

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

Package documentation as a starting point:

Caution image

The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.

This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.

--

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