Commit Graph

7828 Commits

Author SHA1 Message Date
Hajime Hoshi
7f397c99b0 .github/workflows: use cache at setup-go
Updates #2288
2022-09-01 16:04:28 +09:00
Hajime Hoshi
b2c36d3d33 update Oto to fix the issue with Siri on iOS
Closes #2279
2022-09-01 00:45:02 +09:00
Hajime Hoshi
4df536a9d4 update Oto to v2.4.0-alpha.1 2022-08-31 22:28:08 +09:00
Hajime Hoshi
ae41530f1c internal/graphicscommand: move availableFilename to graphicscommand 2022-08-31 13:26:14 +09:00
Hajime Hoshi
d66c552912 internal/graphicscommand: bug fix: 0-sized image was included in dumped internal images
Updates #2270
2022-08-31 12:22:36 +09:00
Hajime Hoshi
b53c686017 audio: bug fix: suspend/resume didn't return an error
This was removed at a93897d9d2 accidentally.

Updates #1665
2022-08-31 12:12:06 +09:00
Hajime Hoshi
2d43e59b37 audio: add comments 2022-08-31 12:10:01 +09:00
Terra Brown
26a58d20b3
internal/graphicscommand: enable EBITENGINE_INTERNAL_IMAGES_KEY on browsers (#2283)
Closes #2270

Co-authored-by: Hajime Hoshi <hajimehoshi@gmail.com>
2022-08-31 03:10:10 +09:00
Hajime Hoshi
216ca95960 audio: bug fix: build error with Go 1.17 for iOS 2022-08-31 02:13:17 +09:00
Hajime Hoshi
48110eb518 audio: add an additional error information when creating a context
Updates hajimehoshi/oto#93
2022-08-31 01:05:36 +09:00
Hajime Hoshi
d20a1b07a5 .github/workflows: add Windows ARM build tests 2022-08-30 11:42:11 +09:00
Hajime Hoshi
22c2cdc2d4 Revert ".github/workflows: add ARM Windows test"
This reverts commit 82e9b42c4f.

Reason: test failures: an old Go doesn't support windows/arm or windows/arm64
2022-08-30 03:54:36 +09:00
Hajime Hoshi
82e9b42c4f .github/workflows: add ARM Windows test 2022-08-30 03:52:31 +09:00
Hajime Hoshi
63e3c4adea Revert "internal/graphics: remove FilterScreen and use an original Kage program instead"
This reverts these commits

* 3259ef3daf
* 7c55065490
* 5bb70f485e

Reason: iOS crash. Probably we have to prepare a special rendering
pipeline for the final screen.

Closes #2278
2022-08-30 01:56:06 +09:00
Hajime Hoshi
f7c44f086f replace Ebiten with Ebitengine in comments 2022-08-29 11:17:17 +09:00
Hajime Hoshi
c9de6be572 .github/workflows: enable Wasm test on Windows
Probably #2274 changed the situation.

Closes #1313
2022-08-28 13:38:28 +09:00
Hajime Hoshi
6e2fb46625 .github/workflows: enable Wasm tests for Go 1.15 and 1.16
These were disabled at 0c1449de5e
but not reverted appropriately.
2022-08-28 12:52:59 +09:00
Hajime Hoshi
ec68534c73 internal/graphicsdriver/opengl: introduce EBITENGINE_OPENGL replacing ebitenginewebgl1
This change inroduces a new environment variable `EBITENGINE_OPENGL`
to replace the build tag `ebitenginewebgl1`.
2022-08-28 01:45:58 +09:00
Hajime Hoshi
001c344d00 ebiten: update comments about EBITENGINE_SCREENSHOT_KEY
Update #2265
2022-08-28 00:35:39 +09:00
Hajime Hoshi
313c70f4b4 internal/graphicsdriver/directx: support 32bit Windows
Closes #2088
2022-08-28 00:04:55 +09:00
Hajime Hoshi
610e9ce14c gofmt -s -w 2022-08-28 00:04:32 +09:00
Hajime Hoshi
fd5d142453 internal/restorable: bug fix: needed to copy the stale region when extending an image
Updates #2274
2022-08-27 23:29:50 +09:00
Hajime Hoshi
b2f874a244 image/rectangle: read pixels only for necessary parts
Closes #2274
2022-08-27 23:23:33 +09:00
Terra Brown
de35a5a6f1
ebiten: add Termination for a regular termination (#2272)
Closes #2266
2022-08-27 21:33:40 +09:00
Hajime Hoshi
0587a45c61 .github/workflows: enable -shuffle on browsers
Closes #2273
2022-08-27 20:29:37 +09:00
Hajime Hoshi
c7026a81f0 update the link to the subreddit 2022-08-27 13:53:06 +09:00
Hajime Hoshi
2239a9b719 updated an outdated URL in CoC 2022-08-27 13:26:52 +09:00
Terra Brown
232cadf15a
internal/graphicscommand: browser screenshot/image dump support (#2269)
Closes #2265
2022-08-27 12:51:30 +09:00
Hajime Hoshi
3259ef3daf internal/ui: fix comments 2022-08-26 22:55:22 +09:00
Hajime Hoshi
7c55065490 internal/ui: simplify the screen shader 2022-08-26 22:49:17 +09:00
Hajime Hoshi
5bb70f485e internal/graphics: remove FilterScreen and use an original Kage program instead
Updates #2046
2022-08-26 17:41:29 +09:00
Hajime Hoshi
3b50e57f19 internal/ui: move convertUniforms to ui.Shader
This is a preparation to use a Kage program as the screen filter.

Update #2046
2022-08-26 17:41:26 +09:00
Hajime Hoshi
7703ab17fc update Oto (a fix was applied for the main branch)
Updates #2268
Updates hajimehoshi/oto#183
2022-08-26 01:26:30 +09:00
Hajime Hoshi
64ce59c4fa update Oto to fix crashes with Go 1.15 and 1.16
Closes #2268
2022-08-25 01:28:25 +09:00
Hajime Hoshi
7c64000c09 .build: add arch.yml again 2022-08-24 10:34:00 +09:00
Hajime Hoshi
b858f36d54 remove the dependency on file2byteslice
Specify the version explicitly instead.
2022-08-23 16:34:55 +09:00
Hajime Hoshi
de20b855b9 ebiten: add comments about termination 2022-08-22 23:30:19 +09:00
Hajime Hoshi
386f9cb63e Revert "update Oto (pure Go for macOS)"
This reverts commit 99b69813e2.

Reason: test failures: https://github.com/hajimehoshi/ebiten/runs/7943880948

Updates #2264
2022-08-22 12:02:35 +09:00
Hajime Hoshi
99b69813e2 update Oto (pure Go for macOS)
Now Oto is pure Go for macOS.

Updates #1162
2022-08-22 11:48:56 +09:00
Hajime Hoshi
344d66c365 audio/internal/convert: remove Resampling.Close
This function is not used anywhere.
2022-08-21 23:48:33 +09:00
Hajime Hoshi
d9704f2ba9 ebiten: typo 2022-08-21 23:01:25 +09:00
Hajime Hoshi
ef7966b625 ebiten: typo 2022-08-21 21:58:10 +09:00
Hajime Hoshi
f923250a65 ebiten: typo 2022-08-21 20:02:53 +09:00
Hajime Hoshi
371f369a9f update Oto 2022-08-21 04:47:01 +09:00
Hajime Hoshi
b28b323920 internal/shaderir: use parentheses for vector equal operators 2022-08-21 04:19:56 +09:00
Hajime Hoshi
9c5ba4b857 release v2.5.0-alpha 2022-08-21 04:03:01 +09:00
Hajime Hoshi
b4589254f8 update Oto
Initializing an audio context might take long and reduce TPS/FPS
on Linux. With the latest Oto, the initialization happens in
parallel thanks to the 'ready' channel.
2022-08-21 00:58:13 +09:00
Hajime Hoshi
833473316f internal/ui: forbide RestoreWindow when the window size limits are specified
Closes #2259
2022-08-20 22:36:37 +09:00
Hajime Hoshi
31141d5112 internal/ui: forbid maximizing window when a window size is limited
Closes #2258
2022-08-20 22:24:13 +09:00
Hajime Hoshi
e150745598 internal/ui: bug fix: do not register a framebuffer-size callback on macOS
When a decorating state is switched, a framebuffer-size callback was
invoked but with wrong parameters on macOS.

This callback was originally implemented for i3 window manager, and
was not needed for macOS. Then, let's not use this on macOS. Probably
we can also skip this registering on Windows.

Updates #1960
Closes #2257
2022-08-20 19:10:42 +09:00