Commit Graph

24 Commits

Author SHA1 Message Date
Nigel Tao 970a0a0162 go.mobile/gl/glutil: let Image.Draw draw non-axis-aligned quads.
LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/160710043
2014-10-31 14:32:34 +11:00
David Crawshaw 0ac70a3835 go.mobile/gl/glutil, go.mobile/app/debug: create glimage with pixel size
LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/165940043
2014-10-30 19:43:51 -04:00
Nigel Tao b3557d6b50 go.mobile/app: add comment about X11 library dependencies.
LGTM=adg, crawshaw
R=crawshaw, adg
CC=golang-codereviews
https://golang.org/cl/159530043
2014-10-28 12:07:47 +11:00
David Crawshaw 85b2f78310 go.mobile/app: do not log info android logcat already includes
i.e. all of log.LstdFlags

LGTM=hyangah
R=golang-codereviews, hyangah
CC=golang-codereviews
https://golang.org/cl/138310043
2014-10-23 09:55:09 -04:00
David Crawshaw 479974ec25 go.mobile/app: comments from cl/147910043 and fix darwin mouse drag events
LGTM=nigeltao
R=nigeltao, hyangah
CC=golang-codereviews
https://golang.org/cl/146440043
2014-10-22 20:24:05 -04:00
Nigel Tao fab1e51609 go.mobile/geom: rename Scale to PixelsPerPt.
LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/160160043
2014-10-22 13:50:04 +11:00
David Crawshaw 32b64a7e1e go.mobile/app: bigger default window in x11
LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/155680043
2014-10-21 22:11:11 -04:00
David Crawshaw 84a6a4e653 go.mobile/app: fix import path in docs
LGTM=hyangah
R=hyangah
CC=golang-codereviews
https://golang.org/cl/157040043
2014-10-15 11:18:32 -04:00
Nigel Tao 0d93f8d8be go.mobile/app: tabs/spaces clean-up.
LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/159820043
2014-10-13 21:04:04 +11:00
David Crawshaw 8a5f40b7b3 go.mobile: move glimage to glutil package and export
Drawing now supports defining both the source and destination
bounds, which is equivalent to clipping and scaling an image.

LGTM=nigeltao
R=nigeltao, crawshaw
CC=adg, golang-codereviews
https://golang.org/cl/144480043
2014-10-12 17:58:22 -07:00
Nigel Tao c2d8ff3468 go.mobile/app: add an X11 implementation, for non-Android Linux.
LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/155270043
2014-10-13 09:24:05 +11:00
Gautham Thambidorai 7aa683c173 go.mobile/app: Add an entrypoint for non Java libraries to use for initializing a go runtime.
LGTM=crawshaw
R=golang-codereviews, crawshaw
CC=golang-codereviews
https://golang.org/cl/156040044
2014-10-09 14:23:40 -07:00
David Crawshaw 5217175bab go.mobile/app: darwin window drawing support for debugging
This lets you run really simple apps in a window on an OS X
machine. It's not an official target, but slightly more
productive than waiting for an apk install when working on
the sprite package.

LGTM=adg
R=golang-codereviews, adg
CC=golang-codereviews
https://golang.org/cl/147910043
2014-09-29 13:22:23 +10:00
David Crawshaw 7f2ffa1c58 go.mobile/app: remove enum not defined in earlier android platforms
LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/143680044
2014-09-28 08:22:16 +10:00
David Crawshaw 022508a5a3 go.mobile/app/debug: basic GL-based debugging tools
LGTM=nigeltao
R=nigeltao, bryanturley, crawshaw
CC=adg, davidday, golang-codereviews
https://golang.org/cl/136550043
2014-09-22 11:18:43 -04:00
David Crawshaw 56cb2dac4e go.mobile/app: Touch callback
LGTM=adg, nigeltao
R=nigeltao, adg, bryanturley
CC=davidday, golang-codereviews
https://golang.org/cl/140450043
2014-09-11 19:39:16 -04:00
David Crawshaw e27dbf7bf9 go.mobile/app: an exceedingly simple display loop
Missing many features (like event processing). This is
just enough to get example/basic working.

LGTM=nigeltao
R=golang-codereviews, capnm9, bryanturley, nigeltao, crawshaw
CC=golang-codereviews
https://golang.org/cl/131030043
2014-09-09 19:51:04 -04:00
David Crawshaw 3d312b5a2b go.mobile: break dependency on gobind
Preparation for NativeActivity-based apps.

LGTM=nigeltao
R=golang-codereviews, nigeltao
CC=golang-codereviews
https://golang.org/cl/126520043
2014-09-03 09:03:00 -04:00
David Crawshaw 4b6d21f64f go.mobile/app: a little documentation
LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/128580044
2014-08-21 16:07:33 -04:00
David Crawshaw f53c6fa014 go.mobile/app: override log output
Results in faster writes to logcat as it skips the pipe.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/132800044
2014-08-21 16:06:11 -04:00
David Crawshaw 1e86c633f3 go.mobile/app: initialize java language binding
LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/114300043
2014-07-31 08:27:33 -04:00
David Crawshaw e9c430e74e go.mobile/app: redirect os.Stdout and os.Stderr to logcat
LGTM=sameer
R=sameer, nightlyone
CC=golang-codereviews
https://golang.org/cl/116330044
2014-07-31 08:23:38 -04:00
David Crawshaw 3c9259eba0 go.mobile/app: Java thread check, extra doc comment
LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/109670043
2014-07-10 13:13:00 -04:00
David Crawshaw d3521b7338 go.mobile/app: entry point for android shared libraries
This is the minimum amount of machinery necessary to get
libgojni.so loading and callable from an Android App.

To keep impact on the Go runtime small, we construct an
auxv array here from /proc/self/auxv.

LGTM=minux, adonovan
R=adonovan, golang-codereviews, minux, bradfitz
CC=golang-codereviews
https://golang.org/cl/107500043
2014-07-10 07:29:36 -04:00