Commit Graph

9447 Commits

Author SHA1 Message Date
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
Hajime Hoshi
11223d9fae text/v2: reuse HarfBuzzShaper
Updates #2963
2024-04-17 15:59:53 +09:00
Hajime Hoshi
9cd7b34a77 internal/glfw: reorder constants 2024-04-14 17:30:21 +09:00
Hajime Hoshi
6df42f1a4b internal/glfw: bug fix: disabling cursor doesn't work well on remote desktop
This change applies the bug fix at glfw/glfw#1276

Updates #2961
2024-04-14 16:43:39 +09:00
Hajime Hoshi
86e0bcc264 internal/glfw: bug fix: limit the DWM swap interval to Vista and 7
This change applies the bug fix at glfw/glfw#1072.

Updates #2961
2024-04-14 15:35:00 +09:00
Hajime Hoshi
d5f15f9354 internal/glfw: bug fix: posting an empty event from different goroutine fails
This change applies the bug fix at glfw/glfw#1649

After this change, an Ebitengine application always shows the menu
bar, but this should be fine for Ebitengine applications.
2024-04-14 14:44:42 +09:00
Hajime Hoshi
6ff9e2b44c internal/glfw: bug fix: too early event emitting
This change applies the bug fix at glfw/glfw#2046.
2024-04-14 14:30:06 +09:00
Hajime Hoshi
4dfb3d2fc1 internal/glfw, internal/gamepad: update GLFW to v3.3.10
Closes #2960
2024-04-14 14:11:45 +09:00
Hajime Hoshi
4647e9de53 internal/glfw, internal/gamepad: update GLFW to v3.3.9
Updates #2960
2024-04-14 01:14:22 +09:00
Hajime Hoshi
88dae9c7d4 all: update gen2brain/mpeg 2024-04-13 01:14:20 +09:00