Commit Graph

9886 Commits

Author SHA1 Message Date
Hajime Hoshi
242d36a9a4 examples/audio: Add padding 2016-04-19 02:45:51 +09:00
Hajime Hoshi
895c559b8e audio/vorbis: Bug fix: compible error in JS 2016-04-19 02:43:06 +09:00
Hajime Hoshi
5ae624b891 audio: Add comments (#199) 2016-04-19 02:00:16 +09:00
Hajime Hoshi
b0178e8425 audio: Move exp/audio -> audio (#206) 2016-04-19 01:26:37 +09:00
Hajime Hoshi
283758dddb audio: Remove NewLoop (#200) 2016-04-19 00:49:38 +09:00
Hajime Hoshi
2b4140cb4a audio: Bug fix: Compile error 2016-04-17 03:19:05 +09:00
Hajime Hoshi
6ba088d021 audio: Bug fix: buffers might be run out (#207) 2016-04-16 12:09:25 +09:00
Hajime Hoshi
e5609f06d6 audio: Refactoring 2016-04-16 03:56:14 +09:00
Hajime Hoshi
4dc4cf55d0 doc: Fix README 2016-04-15 10:50:40 +09:00
Hajime Hoshi
4b5243579c audio: Remove unneeded C files 2016-04-15 02:07:35 +09:00
Hajime Hoshi
98be54fe60 audio: Bug fix: Compile error and noise on Windows 2016-04-15 01:58:27 +09:00
Hajime Hoshi
715b5df7e1 audio: Consume necessary and sufficient data on each Update (#205) (WIP) 2016-04-15 01:37:48 +09:00
Hajime Hoshi
4e2d661541 doc: Add new examples 2016-04-14 01:26:31 +09:00
Hajime Hoshi
9bd754c6d4 doc: go generate 2016-04-14 01:15:35 +09:00
Hajime Hoshi
ee142a751c graphics: Add CompositeModeDestinationOver 2016-04-14 01:09:11 +09:00
Hajime Hoshi
5f6f2531a9 graphics: Add comments to CompositeModes 2016-04-14 01:05:50 +09:00
Hajime Hoshi
9c508e0444 doc: Update 2016-04-14 00:12:33 +09:00
Hajime Hoshi
855bad4cb3 examples/font: Fix a comment 2016-04-11 11:56:31 +09:00
Hajime Hoshi
5a379cb7cb Reduce panics (#196) 2016-04-11 01:48:40 +09:00
Hajime Hoshi
e93982ffb5 audio: Add doc 2016-04-10 23:15:49 +09:00
Hajime Hoshi
65cbbdd5d9 audio: Misspelling 2016-04-10 23:15:49 +09:00
Hajime Hoshi
b9752ce97c ui: Fix comment 2016-04-10 23:03:50 +09:00
Hajime Hoshi
e0a091194e audio: Fix wrong comments 2016-04-10 01:13:15 +09:00
Hajime Hoshi
702884acf5 audio: Don't check errors until making current context is done (#204) 2016-04-10 01:11:42 +09:00
Hajime Hoshi
509aa22bae audio: Re-use another OpenAL library for Mac OS X (#195) 2016-04-10 00:39:08 +09:00
Hajime Hoshi
96296f076d audio: Lock OS Thread during initializing OpenAL audio 2016-04-09 23:13:54 +09:00
Hajime Hoshi
52aa9d4784 Revert "audio: Use another OpenAL library for Mac OS X (#195)"
This reverts commit 6e5b8a28dc.
2016-04-09 22:56:25 +09:00
Hajime Hoshi
6e5b8a28dc audio: Use another OpenAL library for Mac OS X (#195) 2016-04-09 22:15:00 +09:00
Hajime Hoshi
c2d1f99e7e ui: less error adjustment is better 2016-04-09 19:08:19 +09:00
Hajime Hoshi
e608837943 ui: Make FPS more stable (#203) 2016-04-09 18:56:07 +09:00
Hajime Hoshi
884719264e ui: Use integers as much as possible 2016-04-09 16:57:04 +09:00
Hajime Hoshi
328900ec80 ui: Bug fix: 'frames' should be incremanted only when drawing happens 2016-04-09 02:36:41 +09:00
Hajime Hoshi
5fa81ebe78 ui: Refactoring: Don't re-get ui.Now() to calculate FPS 2016-04-09 02:33:06 +09:00
Hajime Hoshi
9dfbb4161e audio: Remove unused functions 2016-04-09 01:15:39 +09:00
Hajime Hoshi
38ee66070e audio: Fix error messages 2016-04-09 01:10:42 +09:00
Hajime Hoshi
2ba5105ba9 audio: Use channel num and bytes per sample on OpenAL 2016-04-09 01:10:11 +09:00
Hajime Hoshi
bbdb522b15 audio: Bug fix: compilation error on Windows 2016-04-09 00:58:50 +09:00
Hajime Hoshi
2840bafd0a audio: Move drivers to internal/driver 2016-04-09 00:54:18 +09:00
Hajime Hoshi
5c73357ef8 graphics: Fix wrong comment 2016-04-08 21:47:44 +09:00
Hajime Hoshi
3ec0020f02 graphics: Bug fix (#201): Remove gl.Flush for performance (this ws added by #161 but no longer needed because of BindZeroFrameBuffer) 2016-04-08 21:45:53 +09:00
Hajime Hoshi
07da7a2348 graphics: Refactoring 2016-04-08 04:39:13 +09:00
Hajime Hoshi
e9ffe13739 graphics: Avoid copying receivers for JS 2016-04-08 04:20:45 +09:00
Hajime Hoshi
9e58128ea8 graphics: Add 'concurrent-safe' comments 2016-04-08 04:09:43 +09:00
Hajime Hoshi
92e56d53f1 graphics: Reduce the size of vertices array 2016-04-08 04:08:45 +09:00
Hajime Hoshi
0c932fbf84 examples/sprites: Skip rendering when the game is slow 2016-04-08 03:31:10 +09:00
Hajime Hoshi
b2c5cb164a graphics: Calculate vertices ahead of locking 2016-04-08 03:18:52 +09:00
Hajime Hoshi
492f471ec3 graphics: Early return when num of vertices is 0 2016-04-08 02:49:53 +09:00
Hajime Hoshi
c3d8cf2366 graphics: Make Image functions concurrent safe (#201) 2016-04-07 03:49:11 +09:00
Hajime Hoshi
bcf406f058 image: NewImage/NewImageFromImage are now cocurrent-safe (#201) 2016-04-06 11:11:31 +09:00
Hajime Hoshi
922fc7edfc doc: goroutine-safe -> concurrent-safe 2016-04-06 10:57:30 +09:00