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
Hajime Hoshi
85d54515cd
internal/shader: check types for && and || correctly
...
Updates #2256
2022-08-19 17:34:03 +09:00
Hajime Hoshi
d6047f3988
internal/shader: add type checks to compare two values
...
Closes #2187
2022-08-19 17:03:29 +09:00
Hajime Hoshi
f63b87f675
internal/shader: refactoring
2022-08-19 15:24:00 +09:00
Hajime Hoshi
a4b9d3c241
internal/gamepaddb: update the database
...
Adopts 74ebd51889
2022-08-19 02:54:03 +09:00
Hajime Hoshi
c585ea3018
update Oto to v2.3.0-alpha.7
2022-08-19 02:51:01 +09:00
Hajime Hoshi
71013e0527
update dependencies
2022-08-19 02:49:43 +09:00
Hajime Hoshi
73cd05eeec
update github.com/jfreymuth/oggvorbis to v1.0.4
...
This improves an error message when an empty source is passed to
the decoder.
Updates #2251
2022-08-19 02:46:54 +09:00
Hajime Hoshi
590147acda
internal/shader: add type checks for the builtin function texture2D
...
Note that texture2D is usually not called by users.
Closes #2184
2022-08-19 02:27:40 +09:00
Hajime Hoshi
63eee0600e
internal/shader: add type checks for the builtin function transpose
...
Updates #2184
2022-08-19 01:57:24 +09:00
Hajime Hoshi
7a94cbbd62
internal/shader: add refract
...
Closes #2255
2022-08-19 01:48:35 +09:00
Hajime Hoshi
13ae8f5872
internal/shader: add type checks for the builtin function faceforward
...
Updates #2184
2022-08-19 01:48:30 +09:00
Hajime Hoshi
73f12fa704
internal/shader: add type checks for the builtin function smoothstep
...
Updates #2184
2022-08-19 01:27:01 +09:00
Hajime Hoshi
f3ea274d20
internal/shader: add type checks for the builtin function mix
...
Updates #2184
2022-08-19 01:19:20 +09:00
Hajime Hoshi
ec851a85f5
internal/shader: add type checks for the builtin function step
...
Updates #2184
2022-08-19 00:25:04 +09:00