Commit Graph

345 Commits

Author SHA1 Message Date
TotallyGamerJet
05470f7706
internal/graphicsdriver/metal: remove C for macOS (#2243)
Updates #1162
2022-08-18 01:39:34 +09:00
Hajime Hoshi
dd292552d5 audio: move the implementation for NintendoSDK to Oto
Updates #2242
2022-08-12 20:53:55 +09:00
Hajime Hoshi
2b248ef783 audio: refactoring: remove audio/internal/cbackend 2022-08-08 23:58:46 +09:00
Hajime Hoshi
445378ab31 update dependencies 2022-08-08 11:38:10 +09:00
Hajime Hoshi
4a00bbc299 update GLFW to v3.3.8 for non-Windows
Updates #2214
2022-08-07 13:24:20 +09:00
Hajime Hoshi
6a985fae4b update Oto: bug fix: crash when the window was inactive and the audio was suspended on Windows
Updates hajimehoshi/oto#179
2022-08-03 00:17:25 +09:00
Hajime Hoshi
508a42a9c4 update Oto for pure Go on Darwin
Updates #1162
2022-07-31 20:47:13 +09:00
Hajime Hoshi
87aa498bd2 update Oto to v2.3.0-alpha.6 2022-07-30 13:53:34 +09:00
Hajime Hoshi
ac18f69f9c update Oto: asynchronous initialization of audio for Xbox
Updates #2084
2022-07-24 15:25:31 +09:00
Hajime Hoshi
67ae8d9851 update Oto: bug fix: Suspend and Resume were concurrent-unsafe on WASAPI 2022-07-23 23:10:49 +09:00
Hajime Hoshi
7d75f1ad04 update Oto: implement Pause and Resume for WASAPI 2022-07-23 23:00:44 +09:00
Hajime Hoshi
46b0563ddd update Oto for WASAPI
Updates #2084
2022-07-22 22:56:06 +09:00
Hajime Hoshi
c83eb8c0c9 update dependencies 2022-07-22 03:44:02 +09:00
Hajime Hoshi
2386ccc4cb update Oto to v2.3.0-alpha.5 2022-07-22 03:41:48 +09:00
Hajime Hoshi
a7beddbc94 update Oto to v2.2.0-alpha.6 2022-07-15 19:15:38 +09:00
Hajime Hoshi
926dd5677e update Oto 2022-07-09 14:39:39 +09:00
Hajime Hoshi
166e219390 update Oto to v2.2.0-alpha.5 2022-07-09 12:16:40 +09:00
Hajime Hoshi
7021086c07 update Oto to v2.2.0-alpha.4 (again) 2022-07-09 02:32:30 +09:00
Hajime Hoshi
9136d0cfd8 Revert "update Oto to v2.2.0-alpha.4"
This reverts commit 19ebb28776.

Bug fix: wrong version was specified
2022-07-09 01:57:33 +09:00
Hajime Hoshi
19ebb28776 update Oto to v2.2.0-alpha.4 2022-07-09 00:35:31 +09:00
Hajime Hoshi
a516a5b092 update Oto (for refactoring) 2022-07-01 02:28:20 +09:00
Hajime Hoshi
12d274eb0a update Oto for a player's Seek
Updates hajimehoshi/oto#172
2022-07-01 02:21:19 +09:00
Hajime Hoshi
c8f0bf52e4 update purego 2022-06-29 23:42:31 +09:00
Hajime Hoshi
d6e257084d audio: bug fix: potential busy reading after the source reaches EOF
Closes #2167
Updates hajimehoshi/oto#171
2022-06-27 22:54:33 +09:00
Hajime Hoshi
8b86751237 update purego 2022-06-27 10:19:47 +09:00
Hajime Hoshi
7f26562531 update dependencies 2022-06-24 02:06:23 +09:00
Hajime Hoshi
409c78eeb9 update GLFW 2022-06-23 11:35:13 +09:00
Hajime Hoshi
2f104a35be update purego 2022-06-20 11:49:19 +09:00
Hajime Hoshi
7a94140724 update Oto to v2.2.0-alpha.3 2022-06-14 00:44:51 +09:00
Hajime Hoshi
abef203a70 rename github.com/ebitne/purego -> github.com/ebitengine/purego 2022-06-10 21:59:01 +09:00
Hajime Hoshi
b30700ac31 update Oto: simplify pausing
Updates #2125
2022-06-07 00:24:58 +09:00
Hajime Hoshi
0a1fe2e294 update Oto 2022-06-06 02:40:06 +09:00
Hajime Hoshi
e5172d7b6c update Oto 2022-06-05 23:13:18 +09:00
Hajime Hoshi
744340da5e update Oto: use arecord -L to list devices
Closes #2118
2022-06-05 12:16:02 +09:00
Hajime Hoshi
04643d06f7 update Oto: try other devices than 'default' when needed
Closes #2118
2022-06-04 22:56:11 +09:00
Hajime Hoshi
23b8d60e42 go mod tidy 2022-06-04 22:54:32 +09:00
TotallyGamerJet
726e88e520
internal/graphics/opengl/gl: remove CGO in openGL on macOS (#2104)
Updates #1162
2022-05-27 18:26:53 +09:00
Hajime Hoshi
4396785829 Revert "internal/graphicsdriver/opengl: remove CGO in opengl for macOS (#2091)"
This reverts commit f7e21983cf.

Reason: test failures (#2102)

Closes #2102
2022-05-22 01:24:48 +09:00
TotallyGamerJet
f7e21983cf
internal/graphicsdriver/opengl: remove CGO in opengl for macOS (#2091)
Updates #1162
2022-05-22 00:58:45 +09:00
Hajime Hoshi
5a4c46fc52 update GLFW to 3.3.7 2022-05-20 22:26:04 +09:00
Hajime Hoshi
f67b4cc1d6 internal/glfw: use a pure Go implementation of GLFW
This change removes internal/glfw/glfw, that is a DLL loader, and
replaces the usages with internal/glfwwin, that is a pure Go
implementation of GLFW for Windows.

The build tag `ebitenexternaldll` is also removed.

Closes #1764
2022-05-20 22:10:00 +09:00
Hajime Hoshi
006b4324dc cmd/ebitenmobile: update Go mobile to enable the latest Android SDK 24
Closes #2085
2022-05-19 09:03:23 +09:00
Hajime Hoshi
7bf9f92eb9 update Oto to v2.2.0-alpha.2 2022-05-01 13:12:39 +09:00
Hajime Hoshi
8556334fce update Oto 2022-04-24 13:05:38 +09:00
Hajime Hoshi
945f4af2ae update Oto to v2.2.0-alpha.1 2022-04-19 10:43:02 +09:00
Hajime Hoshi
a67899fcc0 update Oto 2022-04-12 22:09:57 +09:00
Hajime Hoshi
88213f5dd8 update Oto to v2.2.0-alpha 2022-04-11 11:32:54 +09:00
Hajime Hoshi
d189a120d2 update Oto 2022-04-11 10:56:42 +09:00
Hajime Hoshi
6b77e2edff update go-mp3 2022-04-11 10:46:57 +09:00
Hajime Hoshi
bb2cd3059b update dependencies 2022-04-06 10:54:52 +09:00
Hajime Hoshi
edeaf7b6ab update Oto to v2.1.0-alpha.9 2022-04-05 11:38:20 +09:00
Hajime Hoshi
b2e0a7b267 update Oto 2022-03-29 03:34:08 +09:00
Hajime Hoshi
51091cd5bc update Oto
Updates #2026
2022-03-25 02:35:05 +09:00
Hajime Hoshi
58366ce64d internal/glfw: make the file operation atomic
If multiple Ebiten processes start at the same time, the file operation
can cause a race condition. Add a file lock to avoid this.
2022-03-18 20:32:25 +09:00
Hajime Hoshi
82fcff9549 update Oto to v2.1.0-alpha.8 2022-03-14 13:03:50 +09:00
Hajime Hoshi
e4fba8b047 bug fix: compile error with Go 1.16 and older 2022-03-08 00:08:53 +09:00
Hajime Hoshi
518e7f7022 update Oto 2022-03-07 23:47:28 +09:00
Hajime Hoshi
35f268dfc3 update Oto to v2.1.0-alpha.7 2022-03-06 00:40:44 +09:00
Hajime Hoshi
3564cc795f update Oto to v2.1.0-alpha.6 2022-02-18 01:19:22 +09:00
Hajime Hoshi
f839b52abb update Oto to fix the issue on Windows 7 (32bit)
See hajimehoshi/oto#158.
2022-02-11 14:32:30 +09:00
Hajime Hoshi
2773d2456d update Oto 2022-02-10 14:40:12 +09:00
Hajime Hoshi
e01a0b8a82 update dependncy: golang.org/x/sys 2022-02-02 22:10:34 +09:00
Hajime Hoshi
21fbab8e6b update bitmapfont to v2.2.0 2022-01-22 02:55:20 +09:00
Hajime Hoshi
1f17a63084 update gomobile 2022-01-05 17:37:28 +09:00
Hajime Hoshi
a6e5be608d update Oto to v2.1.0-alpha.5 2021-12-29 01:28:35 +09:00
Hajime Hoshi
ca48736847 update GLFW for non-Windows environments
Updates #1896
2021-12-27 01:24:41 +09:00
Hajime Hoshi
2610d16c8a update Oto
Closes #1908
2021-12-21 19:30:22 +09:00
Hajime Hoshi
80765b0261 Update Oto to v2.1.0-alpha.4 2021-11-07 01:38:13 +09:00
Hajime Hoshi
f695f3f2a9 Update Oto (improve memory allocations on browsers) 2021-11-04 01:33:16 +09:00
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