Commit Graph

276 Commits

Author SHA1 Message Date
Hajime Hoshi
45deaced69 Update Oto 2021-10-31 18:49:17 +09:00
Hajime Hoshi
906ccd85a7 audio: Bug fix: Performance issue by too often locks
Closes #1861
2021-10-31 18:35:59 +09:00
Hajime Hoshi
71b2b439f4 Update Oto to v2.1.0-alpha.3 2021-10-29 00:46:51 +09:00
Hajime Hoshi
192e96d410 Update go-gl/glfw 2021-10-24 15:29:18 +09:00
Hajime Hoshi
a8db2d1b5e Update go-gl/glfw 2021-10-24 14:42:08 +09:00
Hajime Hoshi
d9967c53e5 audio: Treat Oto context's error 2021-10-22 15:29:00 +09:00
Hajime Hoshi
0b4bfd471f Update Oto to v2.1.0-alpha.2 2021-10-01 00:04:19 +09:00
Hajime Hoshi
cca2addb8a Fix Oto issue on Windows
Updates hajimehoshi/oto#151
2021-09-24 01:37:18 +09:00
Hajime Hoshi
c279d0c1cf Update dependencies 2021-09-19 18:29:15 +09:00
Hajime Hoshi
9c321d1fcf Update Oto to v2.1.0-alpha.1 2021-09-16 23:10:36 +09:00
divVerent
60df512352
Switch out the devicescale implementation by one that relies on glfw/xrandr. (#1800)
This should fix fullscreen mode on Linux/X11 systems in general,
while not affecting other systems.

Note that this deletes a bunch of OS X specific and Windows specific code,
as GLFW already provides this functionality.

This change is not expected to cause regressions, however,
the current behavior is still wrong and leads to wrong/unintended window sizes.
To be fixed in further PRs.

Updates #1774
2021-09-14 12:35:02 +09:00
Hajime Hoshi
335fefa4fd Update Oto (relanding the fix) 2021-09-12 16:32:27 +09:00
Hajime Hoshi
bbdd6472c0 Update Oto (fix wrong slice usages) 2021-09-12 16:08:30 +09:00
Hajime Hoshi
777e8f2759 cmd/ebitenmobile: Update Gomobile version for Arm macOS
Closes #1794
2021-09-06 12:20:20 +09:00
Hajime Hoshi
8b269d4358 Update the dependencies 2021-08-22 18:39:28 +09:00
Hajime Hoshi
aec74aa39b Remove flock from the tests 2021-08-22 18:34:35 +09:00
Hajime Hoshi
63c74ca5bf Update Oto to v2.0.0-alpha.2 2021-08-22 16:26:49 +09:00
Hajime Hoshi
1d919f7891 Update Oto 2021-08-22 03:12:21 +09:00
Hajime Hoshi
975159b86a Bug fix: Compile error on Android 2021-08-22 02:34:13 +09:00
Hajime Hoshi
21e0768937 audio/internal/reader: Move the driver part to Oto v2
Closes #1779
2021-08-22 02:10:39 +09:00
Hajime Hoshi
a93897d9d2 audio: Remove Oto (v0) usages
Closes #1665
2021-08-21 19:29:32 +09:00
Hajime Hoshi
bcb30f8595 Update go-gl/glfw for GLFW 3.3.4 2021-07-27 12:54:11 +09:00
Hajime Hoshi
01d6fd3c72 cmd/ebitenmobile: Update gomobile 2021-07-16 15:16:40 +09:00
Hajime Hoshi
342bf6ae7e Update GLFW: suppress joystick issue at PollEvents
Updates #1229
2021-07-15 11:19:39 +09:00
Hajime Hoshi
ec5b034cbf Update GLFW: suppress joystick issue (again)
Updates #1229
2021-07-15 01:02:57 +09:00
Hajime Hoshi
66dbca7fdd Update GLFW: suppress joystick issue
Updates #1229
2021-07-14 23:54:48 +09:00
Hajime Hoshi
6d0ffeb7d8 cmd/ebitenmobile: Update gomobile (again) 2021-07-10 16:16:32 +09:00
Hajime Hoshi
679fb70092 cmd/ebitenmobile: Update gomobile 2021-07-10 16:14:43 +09:00
Hajime Hoshi
f1a20f29b9 Update go.mod
Updates #1258
Updates #1415
Updates #1462
2021-06-08 03:17:30 +09:00
Hajime Hoshi
c65920f3f9 Update dependencies 2021-04-17 20:30:10 +09:00
Hajime Hoshi
855edcd2ff internal/glfw: Update Dockerfile and regenerate DLLs 2021-04-17 20:11:10 +09:00
Hajime Hoshi
8a8700b636 Update indirect dependencies 2021-04-11 01:50:35 +09:00
Hajime Hoshi
a121d01c8a Update dependencies 2021-04-11 01:48:10 +09:00
Hajime Hoshi
c536e34e56 Update GLFW
Updates #1523
2021-03-08 03:10:10 +09:00
Hajime Hoshi
54b2d9532e Update GLFW to 3.3.3
Updates #1523
2021-03-07 00:39:49 +09:00
Hajime Hoshi
ba674a686c cmd/ebitenmobile: Bug fix: Record go.sum correctly to build gomobile/gobind
Closes #1487
2021-02-10 02:18:06 +09:00
Hajime Hoshi
773c03cb7a Update oggvorbis to v1.0.3 2021-01-31 16:06:01 +09:00
Hajime Hoshi
5a061d015f Update github.com/jfreymuth/oggvorbis to v1.0.2 2021-01-31 03:19:52 +09:00
Hajime Hoshi
3aefd79f58 Update jfreymuth/oggvorbi to v1.0.2 2021-01-19 23:53:35 +09:00
Hajime Hoshi
193628798a Update Oto to v0.7.1 2021-01-12 01:09:13 +09:00
Hajime Hoshi
04539b9d05 Update bitmapfont 2021-01-11 04:25:58 +09:00
Hajime Hoshi
5b7ed246c0 Bug fix: Compile error on Oto 2021-01-05 21:56:00 +09:00
Hajime Hoshi
3f3b8ded81 Update Oto 2021-01-05 20:47:44 +09:00
Hajime Hoshi
f292594184 audio: Use a new implentation for go2cpp in Oto 2020-12-30 19:21:15 +09:00
Hajime Hoshi
8838366b37 Update Oto
Updates #1438
2020-12-28 16:32:37 +09:00
Hajime Hoshi
111709d3aa Update Oto 2020-12-26 14:50:40 +09:00
Hajime Hoshi
517cf29ddc Update Oto to v0.7.0 2020-12-23 00:21:19 +09:00
Hajime Hoshi
903cc37ab4 Update Oto for performance 2020-12-17 00:03:07 +09:00
Hajime Hoshi
9a49501957 Update Oto to v0.6.8
Fixes #1424
2020-11-29 13:00:45 +09:00
Hajime Hoshi
5d7a098679 Update bitmapfont 2020-11-25 02:11:23 +09:00
Hajime Hoshi
53d7bcda84 Update Oto for Raspberry Pi issue
Fixes #1424
2020-11-22 22:37:51 +09:00
Hajime Hoshi
e0133cbe32 Update Oto to v0.6.7 2020-11-07 01:19:39 +09:00
Hajime Hoshi
9d4b0f3bad Update bitmapfont to v2.1.1 2020-11-03 14:07:14 +09:00
Hajime Hoshi
5b8370298a glfw: Use os.UserConfigDir for GLFW DLL instead of temporary directories
As of this change, Ebiten requries Go 1.13 due to os.UserConfigDir.

Fixes #1393
2020-11-01 17:51:44 +09:00
Hajime Hoshi
335c11960a Update Oto for the potential crash fix on macOS 2020-10-31 23:58:45 +09:00
Hajime Hoshi
a76de7c251 Update Oto to v0.6.6 2020-10-19 04:05:05 +09:00
Hajime Hoshi
4c42a26464 audio: Bug fix: Rare crash on macOS/iOS
Fixes #1386
2020-10-12 23:18:14 +09:00
Hajime Hoshi
5d4c57c328 Update dependencies 2020-10-10 22:18:41 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
eb38324021 examples: Use golang.org/x/image/font/opentype
Fixes #484
2020-10-03 23:14:09 +09:00
Hajime Hoshi
e53557b60f examples: Bug fix: golang.org/x/image/font/opentype was old 2020-10-03 20:31:53 +09:00
Hajime Hoshi
92c0d8da7e Revert "examples/font: Use golang.org/x/image/font/opentype"
This reverts commit 7b3294064d.

Reason: #1377
2020-10-03 20:25:57 +09:00
Hajime Hoshi
774eb0ea82 Update bitmapfont to v2.1.0 2020-10-03 01:20:47 +09:00
Hajime Hoshi
033f40affc Update Oto to v0.6.5 2020-10-01 01:11:00 +09:00
Hajime Hoshi
7b3294064d examples/font: Use golang.org/x/image/font/opentype
Updates #484
2020-09-28 02:20:14 +09:00
Hajime Hoshi
567720ffb4 Update bitmapfont 2020-09-24 19:18:58 +09:00
Hajime Hoshi
f189404370 text: Update bitmapfont to v2 2020-09-23 22:59:46 +09:00
Hajime Hoshi
14e324ceff Update bitmapfont 2020-09-21 00:13:58 +09:00
Hajime Hoshi
bd3d2b3394 Update dependencies (gopkg.in/check.v1) 2020-09-20 22:23:42 +09:00
Hajime Hoshi
5685952664 Update dependencies 2020-09-20 22:11:27 +09:00
Hajime Hoshi
f09e9ef8ee Update Oto
Updates hajimehoshi/oto#93
2020-09-18 04:35:34 +09:00
Hajime Hoshi
e764b3a425 Update Oto version (again)
Updates hajimehoshi/oto#93
2020-09-16 03:21:15 +09:00
Hajime Hoshi
5491a486c7 Update Oto
Updates hajimehoshi/oto#93
2020-09-16 01:11:01 +09:00
Hajime Hoshi
3d333d5be7 Update Oto
Updates hajimehoshi/oto#93
2020-09-15 13:50:53 +09:00
Hajime Hoshi
c6dc2eb4dc Update dependencies 2020-08-24 13:02:38 +09:00
Hajime Hoshi
16697ffbf2 Update Oto version
This might fix the potential deadlock in audio.

Updates #1308
2020-08-17 03:45:23 +09:00
Hajime Hoshi
67706ce6ed Update go-mp3 version
Go 1.12 failed to build go-mp3 v0.3.0.
2020-08-16 19:46:38 +09:00
Hajime Hoshi
d73472f4f2 Use the library style of file2byteslice 2020-08-14 00:50:09 +09:00
Hajime Hoshi
1bc6f612b3 Update dependencies 2020-08-13 03:02:14 +09:00
Hajime Hoshi
799bd2caf4 Update golang.org/x/sys 2020-08-13 03:01:28 +09:00
Hajime Hoshi
d66e48b91f Update Oto to v0.6.3 2020-08-10 15:37:13 +09:00
Hajime Hoshi
28af45bf0f Update Oto version
Fixes #1280
2020-08-03 03:10:59 +09:00
Hajime Hoshi
88c103e1fd Update Oto version 2020-07-31 00:11:10 +09:00
Hajime Hoshi
f4fff5439e Update Oto version 2020-07-25 02:17:52 +09:00
Hajime Hoshi
7afc242a13 Update gomobile version 2020-07-25 01:35:46 +09:00
Hajime Hoshi
ca3c74d88d audio: Bug fix: Audio didn't work correctly after recovering from sleeping on macOS
Fixes #1259
2020-07-24 22:08:36 +09:00
Hajime Hoshi
0463160b15 audio: Mitigate the issue on recovering from sleep
Updates #1259
2020-07-24 19:39:10 +09:00
Hajime Hoshi
f13fe331fb Update dependencies 2020-07-10 00:26:11 +09:00
Hajime Hoshi
cb0666bc8b cmd/gomobile: Update gomobile version 2020-06-30 13:16:55 +09:00
Hajime Hoshi
52df43b7ab Update GLFW version 2020-06-27 23:55:32 +09:00
Hajime Hoshi
a2b97be266 Update go-mp3 version 2020-06-09 22:27:20 +09:00
Hajime Hoshi
fd5c34cbc3 Update dependencies 2020-05-26 20:23:19 +09:00
Hajime Hoshi
050b788843 Remove go2dotnet from go.mod 2020-05-17 14:28:01 +09:00
Hajime Hoshi
d8b34b136a Add cmd/ebitenmonogame
Fixes #1144
2020-04-24 20:48:01 +09:00
Hajime Hoshi
7ac6b0bfa3 Update dependencies 2020-03-31 03:32:38 +09:00
Hajime Hoshi
c166fe8eea Update GLFW to v3.3.2
Fixes #1086
2020-02-23 03:10:38 +09:00
Hajime Hoshi
a208a026f6 uidriver/mobile: Implement keyboard key inputs for gomobile-build
Updates #237
2020-02-22 23:57:16 +09:00
Hajime Hoshi
59431e1cad graphicsdriver/opengl: Leave comments why we don't use PBO on Android
Unfotunately, PBO might slow Android applications expecially when
coming back from context lost. Ebiten sends a lot of draw calls to
replace pixels in such case.

Until we find a good solution, let's not use PBO on Android.

Fixes #988
2020-01-19 17:02:34 +09:00
Hajime Hoshi
dc5392a73c Update Oto version to v0.5.4 2019-12-26 18:01:59 +09:00
Hajime Hoshi
85cbc7e56b Enable to compile Ebiten on js/wasm with Go 1.14
Fixes #1024
2019-12-19 00:45:53 +09:00
Hajime Hoshi
995ba3afcf glfw: Update GLFW 3.3 2019-11-26 11:21:07 +09:00
Hajime Hoshi
a040aae83b glfw: Update to GLFW 3.3
Fixes #1000
2019-11-26 01:19:20 +09:00
Hajime Hoshi
f028610006 Update GLFW repository version 2019-11-25 22:23:55 +09:00
Hajime Hoshi
cfc66efcfb Update Oto to v0.5.3 2019-11-17 13:11:46 +09:00
Hajime Hoshi
3aef0e3405 audio: Bug fix: Delay on macOS/iOS
Updates #975
2019-11-10 20:26:07 +09:00
Hajime Hoshi
d2ff834cdb Update Oto version to 0.5.2 2019-11-03 00:08:44 +09:00
Hajime Hoshi
93792a6386 Update dependencies 2019-10-27 03:06:09 +09:00
Hajime Hoshi
3112619f00 Update Oto version to 0.5.1 2019-10-27 03:00:36 +09:00
Hajime Hoshi
be449ea430 Bug fix: Remove replace from go.mod 2019-10-22 14:36:09 +09:00
Hajime Hoshi
2f7ccf17f5 docs: Fix comments 2019-10-22 04:15:15 +09:00
Hajime Hoshi
016a9a6923 Update Oto version for more efficent memory usage
Updates #828
2019-10-20 17:00:45 +09:00
Hajime Hoshi
230616a23b Use the latest Oto to use Web Worklet
Fixes #828
2019-10-20 05:37:32 +09:00
Hajime Hoshi
045c743021 Update Oto version to v0.5.0 2019-09-23 01:07:26 +09:00
Hajime Hoshi
272923da65 Revert gomobile version
The latest version includes an issue: golang/go#33937
2019-09-02 03:00:17 +09:00
Hajime Hoshi
56f45d77bd Update dependencies 2019-09-02 02:57:19 +09:00
Hajime Hoshi
9ba113861c Add ebitenmobile command
This works only for iOS so far. I'll implement Java version soon.

Updates #863
2019-08-18 03:03:01 +09:00
Hajime Hoshi
7b91f3025c Update Oto version 2019-07-27 17:31:30 -07:00
Hajime Hoshi
052697e305 Update dependencies 2019-07-15 13:16:57 +09:00
Hajime Hoshi
9e8b23f7dc Update bitmapfont version to v1.2.0 2019-07-14 18:09:09 +09:00
Hajime Hoshi
dfe3116ac8 Update Oto version 2019-07-11 22:27:22 +09:00
Hajime Hoshi
4a02f88ae3 Update Oto version to 0.3.5 2019-06-27 01:08:05 +09:00
Hajime Hoshi
ab61a2d23c Update Oto version 2019-06-17 03:01:00 +09:00
Hajime Hoshi
7efe4758bd Update Oto version to master for Go 1.13 (tip)
Updates #878
2019-06-15 01:15:27 +09:00
Hajime Hoshi
a5c260b4b5 Update flock to v0.7.1 2019-06-13 09:44:03 +09:00
Hajime Hoshi
8044b7405a go mod tidy (and go test) 2019-06-13 09:35:44 +09:00
Hajime Hoshi
b2c6ddf7f6 Update go-mp3 version 2019-05-24 03:24:54 +09:00
Hajime Hoshi
ada9a4ab49 Update GLFW version 2019-05-22 03:17:33 +09:00
Hajime Hoshi
5c85c1466a Update Oto version 2019-05-08 00:04:24 +09:00
Hajime Hoshi
f984f5ada9 Force to use Go 1.12 or later
As syscall/js has incompatible change between Go 1.11 and Go 1.12,
it is safe to force to use Go 1.12.
2019-05-01 17:43:38 +09:00
Hajime Hoshi
1b7be0055a Update go.mod
github.com/gohperjs/gopherjs is not longer needed in go.mod since
`syscall/js` is now used.
2019-05-01 17:38:38 +09:00
Hajime Hoshi
10fb5e33be Replace GopherWasm with syscall/js
Fixes #857
2019-05-01 17:28:00 +09:00
Hajime Hoshi
ab84184b4f Update Oto version 2019-04-30 21:13:22 +09:00
Hajime Hoshi
5ebf474376 Update Oto version
Fixes #856
2019-04-30 19:57:02 +09:00
Hajime Hoshi
c112c31e7e audio: Reimplement audio by using multiple oto.Player 2019-04-30 18:20:52 +09:00
Hajime Hoshi
dea7118733 Update Oto version 2019-04-09 19:41:41 -04:00
Hajime Hoshi
b796582d14 Update go-mp3 version to v0.2.0 2019-04-07 18:39:17 -04:00
Hajime Hoshi
ba033ddf20 Update Oto version
This is a temporary fix for #836.

After relasing Oto v0.3.3, update go.mod again and cherry-pick
this onto 1.9 branch.
2019-04-02 23:29:58 +09:00
Hajime Hoshi
200c3b80a9 Update Oto version 2019-04-01 00:48:59 +09:00
Hajime Hoshi
29e8599fd6 Update go-mp3 version 2019-03-29 00:24:23 +09:00
Hajime Hoshi
873e91ddac Update Oto version to 0.3.1 2019-03-04 00:06:54 +09:00
Hajime Hoshi
af4f44d421 Update Oto version for the critical bug fix on macOS 2019-02-28 02:13:33 +09:00
Hajime Hoshi
a8dcd5c628 Replace go-flock with flock 2019-02-03 14:20:20 +09:00
Hajime Hoshi
346cb21800 Update dependencies 2019-02-03 14:15:13 +09:00
Hajime Hoshi
ca3cacf62a Update Oto version to v0.3.0 2019-01-30 00:32:56 +09:00
Hajime Hoshi
5b63f45f4c go mod tidy 2019-01-25 11:45:50 +09:00
Hajime Hoshi
b380bc6353 Update GopherWasm version 2019-01-25 11:37:29 +09:00
Hajime Hoshi
690dae0488 Update dependencies 2019-01-13 15:54:21 +09:00
Hajime Hoshi
ad285c2235 glfw: Add DLL build results
This also adds fixes for 32bit machines.
2018-12-31 15:46:01 +09:00
Hajime Hoshi
e8a1be7748 graphicsdriver/opengl: Use non-cgo gl package on Windows (#171)
This is a temporal fix until go-gl/glow#102 is applied.
2018-12-09 03:06:11 +09:00
Hajime Hoshi
4cd3e3ae30 Update go.mod/go.sum 2018-10-24 01:16:17 +09:00