Commit Graph

9756 Commits

Author SHA1 Message Date
Hajime Hoshi
a612e74031 audio/wav: add (*Stream).SampleRate
Closes #2996
2024-05-18 20:19:27 +09:00
Hajime Hoshi
ac83181403 audio/mp3: add (*Stream).SampleRate
Updates #2996
2024-05-18 20:13:36 +09:00
Hajime Hoshi
d2c58dac8c audio/vorbis: add (*Stream).SampleRate
Updates #2996
2024-05-18 20:09:37 +09:00
Hajime Hoshi
fbd067c96e .github/workflows: fix tests for Linux 386
Updates #2667
Closes #2995
2024-05-18 18:09:54 +09:00
Hajime Hoshi
53de367d47 all: update typesetting to v0.1.1 2024-05-18 17:08:05 +09:00
Hajime Hoshi
2c2a1fe859 all: update gomobile
This fixes the issue with Android SDK 34.

Closes #2992
2024-05-18 16:53:58 +09:00
Hajime Hoshi
5bb060b1e9 shaderprecomp: add pssl 2024-05-12 15:07:38 +09:00
Hajime Hoshi
a108dac797 internal/shaderir: add 'pssl' package 2024-05-11 18:58:59 +09:00
Hajime Hoshi
bfa9435906 ebiten: add comments about Layout and LayoutF
Updates #2988
2024-05-10 18:24:49 +09:00
Hajime Hoshi
db454548be all: update README 2024-05-09 12:09:47 +09:00
Hajime Hoshi
724ce25260 all: update dependencies 2024-05-09 03:32:22 +09:00
Hajime Hoshi
5926b37c98 all: update golang.org/x/sys to v0.20.0 2024-05-06 22:11:27 +09:00
Hajime Hoshi
b3ad97b22b internal/graphicsdriver/metal/mtl: add comments 2024-05-06 22:07:16 +09:00
Hajime Hoshi
f0ca3f1870 internal/graphicsdriver/metal/mtl: follow ObjC convention
Closes #2981
2024-05-06 21:51:57 +09:00
Hajime Hoshi
2261cf76de internal/graphicsdriver/metal/ca: follow ObjC convention
Updates #2981
2024-05-06 19:36:17 +09:00
Hajime Hoshi
a391da6c77 examples/shaderprecomp/metallib: stop using errgroup 2024-05-06 17:25:21 +09:00
Hajime Hoshi
10d9660125 shaderprecomp: implement for Windows
Closes #2861
2024-05-06 16:03:57 +09:00
Hajime Hoshi
5d4a68b0ea internal/shaderir/hlsl: refactoring: separate calculation uniform offsets 2024-05-05 20:47:35 +09:00
Hajime Hoshi
a41af4528b internal/graphicsdriver/directx: refactoring 2024-05-05 18:58:13 +09:00
Hajime Hoshi
caab1ee29f internal/graphicsdriver/metal: refactoring 2024-05-05 17:18:06 +09:00
Hajime Hoshi
aace620b7e all: update PureGo to v0.8.0-alpha.2 2024-05-05 15:10:05 +09:00
Hajime Hoshi
42eef43136 examples/shaderprecomp: add . 2024-05-05 04:53:14 +09:00
Hajime Hoshi
c46f62e184 all: add a new package shaderprecomp
The current implementation is only for macOS so far.

Updates #2861
2024-05-05 03:51:04 +09:00
Hajime Hoshi
d7df5ebcbd internal/builtinshader: move a clearing shader to builtinshader 2024-05-05 02:18:14 +09:00
Hajime Hoshi
ca9a80600d internal/graphicsdriver/metal: release MTLLibrary 2024-05-04 19:26:12 +09:00
Hajime Hoshi
322ad99568 audio/mp3, audio/vorbis, audio/wav: add comments about cache 2024-05-04 17:30:18 +09:00
Hajime Hoshi
c3b9afe8c4 internal/ui: bug fix: compile error for browsers 2024-05-04 00:30:43 +09:00
Hajime Hoshi
1ebfa8b911 internal/ui: refactoring: remove unused code 2024-05-04 00:26:40 +09:00
Hajime Hoshi
c658a25171 all: replace execabs with os/exec
os/exec no longer searches executablse in the current directory as of
Go 1.19. See https://go.dev/blog/path-security and https://go.dev/issue/43724.
2024-05-03 23:39:38 +09:00
Hajime Hoshi
903ab6727b internal/ui: better panic message at ReadPixels before RunGame
Closes #2979
2024-05-03 16:36:19 +09:00
Hajime Hoshi
35e29a29e7 internal/ui: bug fix: wrong property names were specified
Closes #2975
2024-04-30 23:32:54 +09:00
Hajime Hoshi
e567a8c693 .github/workflows: update wasmbrowsertest 2024-04-30 00:45:00 +09:00
Hajime Hoshi
0af5b41d48 internal/atlas: refactoring 2024-04-29 23:34:37 +09:00
Hajime Hoshi
12876343ff .github/workflows: allow go-vet for Go 1.19 2024-04-29 22:19:55 +09:00
Hajime Hoshi
bb799da51f internal/ui: use atomic.Int32 instead of atomic.Store/LoadInt32
Updates #2422
2024-04-29 21:53:43 +09:00
Hajime Hoshi
59fb259181 internal/graphicsdriver/gl: use PureGo for Linux and UNIX
Updates #2284
2024-04-29 21:25:15 +09:00
Hajime Hoshi
f34932151d all: use atomic.Bool instead of atomic.Store/LoadUint32
Updates #2422
2024-04-29 21:16:01 +09:00
Hajime Hoshi
f2a18ed6ba all: bug fix: upgrade the Go version to 1.19
golang.org/x/tools v0.20.0 no longer supports Go 1.18.
2024-04-29 18:58:17 +09:00
Hajime Hoshi
9c374a958e all: update gomobile 2024-04-29 18:52:14 +09:00
Hajime Hoshi
359b5abb62 all: update dependencies 2024-04-29 18:45:28 +09:00
Hajime Hoshi
c390f0a9fa internal/shader: bug fix: treat a built-in function as an invalid argument
Closes #2965
2024-04-29 16:44:33 +09:00
Hajime Hoshi
13d15b0ed9 .github/workflows: fix comments
Updates #2972
2024-04-29 09:58:00 +09:00
guangwu
97a9ee9601
ebitenutil: close an HTTP response body (#2971)
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-04-29 09:43:11 +09:00
Hajime Hoshi
f43c237c00 .github/workflows: bug fix: Wasm tests didn't work on macOS and Windows
Closes #2973
2024-04-28 21:23:29 +09:00
Hajime Hoshi
af4638d83f all: update bitmapfont to v3.1.0 2024-04-24 00:56:11 +09:00
Hajime Hoshi
bf7acd54bb text/v2: refactoring 2024-04-21 22:46:51 +09:00
Hajime Hoshi
bc9e9d8562 ebiten: move the builtin shader to internal/builtinshader
Updates #2861
2024-04-20 21:23:37 +09:00
Hajime Hoshi
21a906bc82 internal/gamepaddb: refactoring: GLFW gamepads are requried only for Windows
Updates #2964
2024-04-18 14:25:47 +09:00
Hajime Hoshi
c7eb7371f4 internal/gamepad: refactoring 2024-04-18 13:39:29 +09:00
Hajime Hoshi
c74e7fa943 internal/gamepaddb: bug fix: platform was not initialized correctly
After 6552ae1dbe, the order of the init
function calls changed, and then the platform was not initialized
correctly.

This change fixes this issue by not relying on an init function to
get the platform.

Closes #2964
2024-04-18 13:28:53 +09:00