mobile/event
David Crawshaw 59ab51f73f gl: move to context methods
All OpenGL functions are now methods on a Context interface. The
gl.Context matches the one loaded into thread-local storage in C.

For mobile apps, the context is owned by an app.App. For now, it is
provided through the events channel on a lifecycle event. Long-term,
it should probably be available by a method on app.App, but this is
inherently racey with our current use of a channel to deliver events.

Shiny-based programs will have a gl.Context associated with a each
shiny.Window. The expectation is each Window will have different
contexts, allowing them to draw separately.

Change-Id: Ie09986fb74e493129f2ea542a151c95c6fa29812
Reviewed-on: https://go-review.googlesource.com/13431
Reviewed-by: Nigel Tao <nigeltao@golang.org>
2015-09-23 23:46:16 +00:00
..
key event/key: make Event implement fmt.Stringer. 2015-08-21 01:21:32 +00:00
lifecycle gl: move to context methods 2015-09-23 23:46:16 +00:00
mouse event/{mouse,touch}: work in float32 pixels, not geom.Pt. 2015-08-04 07:35:09 +00:00
paint app: change EndPaint to Publish. 2015-09-17 03:17:09 +00:00
size event/size: add an Event.Size method. 2015-09-01 00:58:08 +00:00
touch event/{mouse,touch}: work in float32 pixels, not geom.Pt. 2015-08-04 07:35:09 +00:00