Commit Graph

1287 Commits

Author SHA1 Message Date
Hajime Hoshi
b65aeb7ac3 audio/internal/driver: Add driver_android.go (WIP) 2016-05-25 03:40:04 +09:00
Hajime Hoshi
64afa87def audio: Add driver_mobile.go 2016-05-24 01:24:40 +09:00
Hajime Hoshi
3195ae32d8 mobile: Implement Pause/Resume 2016-05-24 00:00:54 +09:00
Hajime Hoshi
2b477eef5a mobile: Introduce EventDispatcher to reduce glue code 2016-05-23 02:44:41 +09:00
Hajime Hoshi
f251ae8b49 mobile: Handle touch events 2016-05-23 02:06:01 +09:00
Hajime Hoshi
c5163e89f4 mobile: Add a build tag 2016-05-22 18:05:06 +09:00
Hajime Hoshi
affce54629 examples/mobile: Enable to run on desktops 2016-05-22 04:41:09 +09:00
Hajime Hoshi
6d06b01cae gomobile bind works 2016-05-22 04:25:15 +09:00
Hajime Hoshi
296282435a ui: Bug fix: RunWithoutMainLoop must return a chan 2016-05-22 02:20:14 +09:00
Hajime Hoshi
c36dd3df52 ui: Change Input to be an interface 2016-05-20 00:15:05 +09:00
Hajime Hoshi
d09bb63f71 ui: Change UserInterface to be an interface 2016-05-20 00:07:06 +09:00
Hajime Hoshi
d5d9e2c73e examples/mobile: Bug fix: enabled 2016-05-19 03:26:44 +09:00
Hajime Hoshi
76ea075896 Add example/mobile (not-compilable yet) 2016-05-19 03:17:50 +09:00
Hajime Hoshi
8f5ca7dddb mobile: Add license 2016-05-19 01:50:43 +09:00
Hajime Hoshi
dd9ab5e45a Introduce mobile module 2016-05-19 01:49:57 +09:00
Hajime Hoshi
b1afe6aeb2 loop: Refactoring: Remove FPS 2016-05-18 23:27:28 +09:00
Hajime Hoshi
dbd6ed8139 graphics: Move theDelayedImageTasks.exec() to newImageWithZeroFramebuffer 2016-05-18 22:45:15 +09:00
Hajime Hoshi
71a508ca7b gofmt -s -w 2016-05-18 12:09:48 +09:00
Hajime Hoshi
672d721ea9 Fix .travis.yml: Node 'gl' module is not available now? 2016-05-18 12:05:14 +09:00
Hajime Hoshi
335781759c ui: Introduce ScreenSizeEvent to simplify the run loop 2016-05-18 11:56:43 +09:00
Hajime Hoshi
faff188574 ui: Move Now() to internal/loop and hide it 2016-05-18 11:24:17 +09:00
Hajime Hoshi
cd5436712b ui: Hide Init() func 2016-05-18 11:12:23 +09:00
Hajime Hoshi
a35064db7d ui: Add ui.GLContext() 2016-05-18 11:10:03 +09:00
Hajime Hoshi
063ed564fd Move the run loop to internal/loop 2016-05-18 10:59:37 +09:00
Hajime Hoshi
7f19d4a1ac ui: Remove CurrentUI() 2016-05-18 10:51:11 +09:00
Hajime Hoshi
4d04413bf9 ui: Move the run loop to internal/ui 2016-05-18 10:46:23 +09:00
Hajime Hoshi
5c68ee4034 ui: Use events in the game loop 2016-05-18 02:03:41 +09:00
Hajime Hoshi
49c156d2b5 ui: Rename DoEvents -> Update 2016-05-18 01:22:01 +09:00
Hajime Hoshi
41fae3214b ui: Refactoring: Simplify the run loop 2016-05-18 00:15:38 +09:00
Hajime Hoshi
49a0fc839e graphics: Fix a wrong comment 2016-05-17 01:38:31 +09:00
Hajime Hoshi
75b7a9134d graphcis: Bug fix: Evacuating/Restoring pixels must be ignored on a disposed image 2016-05-17 01:30:40 +09:00
Hajime Hoshi
18c14f8897 graphics: Refactoring 2016-05-17 01:09:33 +09:00
Hajime Hoshi
7ab2efaa3f graphics: Add imageImpl and change Image to be a wrapper (emulating weak refs) 2016-05-17 01:03:28 +09:00
Hajime Hoshi
23863d5a2f graphics: Add Image.evacuatePixels and restorePixels and introduce images 2016-05-17 00:22:32 +09:00
Hajime Hoshi
90aeee5144 graphics: Revive image_test.go 2016-05-16 23:35:58 +09:00
Hajime Hoshi
fbd07b1865 graphics: Simplify the size of pixels 2016-05-16 12:27:28 +09:00
Hajime Hoshi
46cbd0c4a0 graphics: Add a func to delete programs and buffers 2016-05-16 11:54:34 +09:00
Hajime Hoshi
ba6d10dec0 graphics: Remove indexBufferLines 2016-05-16 11:34:41 +09:00
Hajime Hoshi
d6bfa72c5c graphics: Remove openGLState.initialize 2016-05-16 11:32:26 +09:00
Hajime Hoshi
da0196911d graphics: Refactoring: Now all Image objects are generated from New* funcs 2016-05-15 21:08:39 +09:00
Hajime Hoshi
9f2b53d24c graphics: Add InitializeIfNeeded function (preparing for Android) 2016-05-15 04:05:57 +09:00
Hajime Hoshi
ebe6296222 opengl: Remove (*Program).Equals 2016-05-15 02:37:25 +09:00
Hajime Hoshi
a3272d0b49 graphics: Refactoring: Reduce global variables 2016-05-15 02:29:54 +09:00
Hajime Hoshi
e30a12ab6a doc: go generate 2016-05-14 21:15:27 +09:00
Hajime Hoshi
97c9cf2259 doc: Update for 1.3.0 2016-05-14 20:45:45 +09:00
Hajime Hoshi
55d06f3bdb doc: Fix comments 2016-05-14 20:43:36 +09:00
Hajime Hoshi
9d25a5f785 graphics: Remove wrong comments 2016-05-14 05:34:55 +09:00
Hajime Hoshi
02bf986049 vorbis: Fix misspelling 2016-05-14 03:43:50 +09:00
Hajime Hoshi
1fa89776fc vorbis: Modify function name styles to make golint happy 2016-05-14 03:41:48 +09:00
Hajime Hoshi
971b42856a examples/blocks: Remove redundant code 2016-05-14 03:29:45 +09:00