Hajime Hoshi
4e4533c89d
internal/ui: bug fix: do not call setFrame in windowDidExitFullScreen
...
Calling setFrame in windowDidExitFullScreen caused unexpected results
like a strange window size after fullscreen. Let's remove this.
By removing this, setting window position and size during fullscreen
will no longer work again. Let's fix this later.
Closes #2295
2022-09-02 17:48:23 +09:00
Hajime Hoshi
37bae461d1
internal/graphicsdriver/directx: bug fix: processtest failures
...
The command allocators should be reset only when the frame index was
updated.
Closes #2249
2022-09-02 12:48:06 +09:00
Hajime Hoshi
1762869791
internal/processtest/testdata: typo
2022-09-02 03:23:30 +09:00
Hajime Hoshi
c126dea7fb
Revert "internal/graphicsdriver/directx: bug fix: do not reset command allocators at Begin"
...
This reverts commit 9d303e8dc5
.
Reason: A GPU memory leak (#2292 ). Though this reverting reveals the error #2249
again, a memory leak is more critical. Then revert the change once, and then
take time to investigate how to resolve #2249 .
Closes #2292
Updates #2249
2022-09-02 02:27:40 +09:00
Hajime Hoshi
cdf83ad2fc
internal/atlas: dispose images at ReadPixels
...
Without resolveDeferred() at ReadPixels, many images are never disposed
in tests.
Updates #2292
2022-09-01 23:54:57 +09:00
Hajime Hoshi
7fab62158d
internal/glfwwin: bug fix: do not allow maximizing window when the max size is specified
...
Closes #2289
2022-09-01 22:48:38 +09:00
Kacper Drobny
9c177c1b8e
internal/ui: allow maximizeWindow when no max boundaries are set ( #2291 )
...
Closes #2290
2022-09-01 22:34:17 +09:00
Hajime Hoshi
5781943833
.github/workflows: bug fix: wrong directory name
2022-09-01 17:16:13 +09:00
Hajime Hoshi
342e90ea29
.github/workflows: move 'docs' to '.github/workflows/site'
2022-09-01 17:14:24 +09:00
Hajime Hoshi
5d6e9cc57e
.github/workflows: deploy GitHub pages from Actions
2022-09-01 17:10:37 +09:00
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