Commit Graph

1682 Commits

Author SHA1 Message Date
Hajime Hoshi
4812f2e76e graphics: Reduce calls of glUniformMatrix4fv 2016-06-05 00:35:58 +09:00
Hajime Hoshi
bddd3c9467 grahics: Reduce gl function calls 2016-06-04 22:30:52 +09:00
Hajime Hoshi
388dd835a6 opengl: Move ZeroFramebuffer to context.go 2016-06-04 04:04:18 +09:00
Hajime Hoshi
ca3322edbc opengl: Refactoring: Rename functions 2016-06-04 03:50:28 +09:00
Hajime Hoshi
da1354ec51 opengl: Bug fix: Reset the bound framebuffer after deletion (#227) 2016-06-04 03:41:14 +09:00
Hajime Hoshi
56844100c2 temporal hack to pass tests (#227) 2016-06-03 13:16:43 +09:00
Hajime Hoshi
3e912ce7f8 graphics: Optimize commands: call glBufferSubData as less times as possible 2016-06-03 12:52:20 +09:00
Hajime Hoshi
208b27d5de graphics: Use command buffers 2016-06-03 03:24:27 +09:00
Hajime Hoshi
efd019c00e graphics: Remove Texture.Size 2016-06-03 03:07:55 +09:00
Hajime Hoshi
0374bf0538 graphics: Remove Framebuffer.Size 2016-06-03 03:02:59 +09:00
Hajime Hoshi
17f4bcbd95 graphics: Introduce Commands (WIP) 2016-06-03 03:01:27 +09:00
Hajime Hoshi
16ef82fa23 opengl: Reduce CheckFramebufferState call for speed 2016-06-01 03:53:55 +09:00
Hajime Hoshi
91491e58f4 opengl: Reduce glBindFramebuffer calls 2016-06-01 02:33:31 +09:00
Hajime Hoshi
3dfbb4a2ea opengl: Refactoring: Remove unneeded code 2016-06-01 02:14:11 +09:00
Hajime Hoshi
d756d35b59 opengl: Remove unneeded access to a member 2016-06-01 02:06:13 +09:00
Hajime Hoshi
5638bb93f5 opengl: Remove glFlush to improve performance 2016-06-01 01:48:46 +09:00
Hajime Hoshi
a95edaceba audio: Remove unneeded padding 2016-05-31 22:32:10 +09:00
Hajime Hoshi
3ce8122557 audio: Replace APIs with low level APIs 2016-05-31 22:29:25 +09:00
Hajime Hoshi
84bf1ddf5c audio: Bug fix: Avoid blocking when sending buffer 2016-05-31 10:17:22 +09:00
Hajime Hoshi
1ca76b64f7 graphics: Add a comment 2016-05-31 00:30:04 +09:00
Hajime Hoshi
6663a447cc graphics: Speed optimization 2016-05-29 23:04:20 +09:00
Hajime Hoshi
f6fd8f9c6d graphics: Reduce calling glUseProgram 2016-05-29 22:40:51 +09:00
Hajime Hoshi
583fc07f3a input: Fix compile error 2016-05-29 22:15:28 +09:00
Hajime Hoshi
05104744d3 input: Bug fix: Touches requries lock 2016-05-29 22:13:42 +09:00
Hajime Hoshi
683c692a5b loop: Much better slow-running detection (#223) 2016-05-29 22:02:06 +09:00
Hajime Hoshi
deb2ab1cbf graphics: Refactoring: Reduce array buffer size 2016-05-29 18:34:52 +09:00
Hajime Hoshi
ebac6cbb81 audio: Refactoring for mobiles (reduce calls) 2016-05-29 18:34:52 +09:00
Hajime Hoshi
857bc1ed51 loop: Prevent re-entering to Run 2016-05-29 18:34:52 +09:00
Hajime Hoshi
a329f7939d audio: Remove confusing comments 2016-05-29 13:19:17 +09:00
Hajime Hoshi
e4ca01db31 mobile: Multitouches (#101) 2016-05-28 23:15:28 +09:00
Hajime Hoshi
405ad9a136 mobile: Remove viewID arg 2016-05-28 19:01:26 +09:00
Hajime Hoshi
2dd1e9c567 audio: Remove unneeded args 2016-05-28 19:01:26 +09:00
Hajime Hoshi
6a74ea5b30 Introduce internal/jni 2016-05-28 19:01:26 +09:00
Hajime Hoshi
dd210a3ed1 run: Take View ID for Android 2016-05-28 19:01:26 +09:00
Hajime Hoshi
4254e7b70e audio: Add comment to explain why we don't free memory 2016-05-27 19:43:03 +09:00
Hajime Hoshi
ba186d9fa4 examples/paint: Use touch events 2016-05-27 01:51:13 +09:00
Hajime Hoshi
e84f798c7c input: Bug fix: Coordinate calculation of touch events 2016-05-27 01:47:24 +09:00
Hajime Hoshi
bdaff72af9 input: Implement Touches function (WIP) (#101) 2016-05-27 01:31:30 +09:00
Hajime Hoshi
4c2bbd47a1 audio: Fix a comment 2016-05-26 23:33:12 +09:00
Hajime Hoshi
ca2f85f3d1 audio: Refactoring: Add loop 2016-05-26 03:15:51 +09:00
Hajime Hoshi
d6dee0815e audio: Bug fix: Avoid deadlock 2016-05-26 03:13:56 +09:00
Hajime Hoshi
644dfcd0fd audio: Create an independent goroutine for enqueuing 2016-05-26 02:50:54 +09:00
Hajime Hoshi
12d62621e9 audio: Bug fix: Play sound correctly on Android 2016-05-26 01:46:26 +09:00
Hajime Hoshi
a2d7b438d4 examples/mobile: Add playing sound 2016-05-25 03:56:50 +09:00
Hajime Hoshi
0ee6b4405c audio: Bug fix: Lazy initialization of audio context 2016-05-25 03:47:59 +09:00
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