Commit Graph

9634 Commits

Author SHA1 Message Date
Hajime Hoshi
5e820be911 internal/buffered: refactoring
This is a preparation for adding members to Vertex.

Updates #2640
2024-08-11 22:25:45 +09:00
Hajime Hoshi
5f80f4b3de all: refactoring 2024-08-11 21:43:00 +09:00
Hajime Hoshi
b9c24f786a ebiten: add BenchmarkDrawTriangles 2024-08-11 16:41:19 +09:00
Hajime Hoshi
89933bf0ab internal/graphicsdriver/playstation5: bug fix: compile error 2024-08-10 21:52:38 +09:00
Hajime Hoshi
332da38565 internal/graphicsdriver/playstation5: update DrawTriangles
A Go pointer in a C struct could cause some troubles.
2024-08-10 21:21:09 +09:00
Hajime Hoshi
fbf40a4455 vector: bug fix: isPointCloseToSegment didn't work when two p0 and p1 are the same
Closes #3061
2024-08-10 17:13:09 +09:00
Hajime Hoshi
fc37cdedeb vector: reuse previous allocated subpaths
Closes #3060
2024-08-10 15:13:23 +09:00
Hajime Hoshi
309c886c2e vector: use value type for subpath
Updates #3060
2024-08-10 15:04:13 +09:00
Hajime Hoshi
68380e506e vector: reduce memory allocations by reusing the same Path objects 2024-08-10 14:02:49 +09:00
Hajime Hoshi
cdb430b2a5 vector: reduce allocations 2024-08-10 05:35:29 +09:00
Hajime Hoshi
e8e458802d examples/vector: reduce allocations 2024-08-10 05:22:53 +09:00
Hajime Hoshi
071024e89f vector: reduce memory allocations in the utility functions 2024-08-10 05:11:46 +09:00
Hajime Hoshi
38b8ba5677 vector: lazy point calculation
This is a preparation for #2884.

Updates #2884
2024-08-10 04:09:39 +09:00
Hajime Hoshi
361da49887 .github/workflows: remove unnecessary environment variable
Updates #2944
2024-08-10 01:25:07 +09:00
Hajime Hoshi
a5235eea86 internal/graphicsdriver/opengl/gl: always prefer OpenGL ES to OpenGL
Closes #2944
2024-08-10 01:21:35 +09:00
Hajime Hoshi
1a0f50503d .github/workflows: update wasmbrowsertest for the websocket issue
See https://github.com/agnivade/wasmbrowsertest/issues/59.

Closes #2982
2024-08-09 16:02:46 +09:00
Hajime Hoshi
956a95c397 all: update Oto to v3.3.0-alpha.4 2024-08-09 00:08:22 +09:00
Hajime Hoshi
9c80367f2f internal/gamepad: ignore EACCES error for /dev/input
Updates #3057
2024-08-08 11:35:39 +09:00
Hajime Hoshi
3624486f8b all: update PureGo to v0.8.0-alpha.4 2024-08-08 00:07:40 +09:00
Hajime Hoshi
1f03971fa9 internal/debug: reland: rename functions 2024-08-07 23:48:35 +09:00
Hajime Hoshi
fab9482e0e Revert "internal/debug: rename functions"
This reverts commit 74722298a2.

Reason: This included an unexpected change in internal/gamepad
2024-08-07 23:47:51 +09:00
Hajime Hoshi
74722298a2 internal/debug: rename functions 2024-08-07 23:42:36 +09:00
Hajime Hoshi
13353dc465 all: update Oto
Updates ebitengine/oto#242
2024-08-06 13:21:57 +09:00
Hajime Hoshi
72f50c389b Revert "all: update Oto"
This reverts commit 8f36a479a3.

Reason: crash on tests
https://github.com/ebitengine/oto/actions/runs/10253513865/job/28366298117
2024-08-06 03:11:48 +09:00
Hajime Hoshi
8f36a479a3 all: update Oto
Updates ebitengine/oto#242
2024-08-06 02:45:09 +09:00
Hajime Hoshi
2a34d1d47b internal/graphicsdriver/opengl/gl: use PureGo version for Android again
This is basically a revert for 297efea68b.
This updates PureGo for the Android issue.

Updates #3052
Updates ebitengine/purego#262
2024-08-05 23:34:56 +09:00
Hajime Hoshi
1e3ab9e5fc all: update dependencies 2024-08-05 21:23:03 +09:00
Hajime Hoshi
aba652c323 internal/graphicsdriver/playstation5: add DrawTriangles 2024-08-04 19:13:36 +09:00
Hajime Hoshi
6555375b06 all: add .clang-format 2024-08-04 19:06:59 +09:00
Hajime Hoshi
9bd17de2d3 internal/graphicsdriver/opengl: remove unused members 2024-08-04 04:26:53 +09:00
Hajime Hoshi
37a6057230 internal/ui: bug fix: increase maxSkipCount
Closes #3055
2024-08-04 04:16:01 +09:00
Hajime Hoshi
af6072c1b4 internal/shader: add more tests
Updates #3011
2024-08-03 19:08:03 +09:00
Hajime Hoshi
7c4f532b83 internal/shader: bug fix: an index must be a constant for vectors
Updates #3011
2024-08-03 19:03:42 +09:00
Hajime Hoshi
719838b7ab .github/workflows: update wasmbrowsertest to fix timeout issue
The issue agnivade/wasmbrowsertest#60 was fixed.

Updates #1313
2024-08-02 23:03:01 +09:00
Hajime Hoshi
1fc2dedaaa all: update gomobile 2024-08-02 13:33:55 +09:00
Hajime Hoshi
297efea68b internal/graphicsdriver/opengl/gl: use C version for Android
Unfortunately PureGo's dlopen didn't work on some Android devices.
Use the Cgo version instead in the same way as v2.7.

Closes #3052
2024-08-01 11:52:07 +09:00
Hajime Hoshi
856b339298 internal/ui: bug fix: show a black dot at the red button when needed
When SetWindowClosingHandled(true) is called, a black dot should be
shown at the red button to close the window.

Closes #3020
2024-07-31 23:54:18 +09:00
Hajime Hoshi
3106f98b52 internal/graphicsdriver/opengl/gl: add more error messages to load libraries 2024-07-31 21:35:24 +09:00
Hajime Hoshi
1843f6acc1 internal/ui: bug fix: dropping multiple files didn't work on Firefox and Safari
Closes #3045
2024-07-31 11:50:30 +09:00
Hajime Hoshi
95ad1b158c internal/file: refactoring
Updates #3045
2024-07-31 11:21:35 +09:00
Hajime Hoshi
47b8af554c all: update Oto to v3.3.0-alpha.3 2024-07-31 00:15:04 +09:00
Hajime Hoshi
c8aea2df16 examples/blocks: bug fix: do not ignore error 2024-07-29 17:37:30 +09:00
Hajime Hoshi
0281ac7bd2 all: use bufio.NewWriter to improve writing speed 2024-07-29 16:29:57 +09:00
Hajime Hoshi
ef5ac4175d all: use bufio.Reader to improve reading speed 2024-07-29 02:28:37 +09:00
Hajime Hoshi
563f2e0e0b all: update Oto 2024-07-28 20:20:13 +09:00
Hajime Hoshi
09b41846f9 all: update Oto (bug fix) 2024-07-28 17:13:13 +09:00
Hajime Hoshi
b6d5b8a1a6 all: update Oto (use AudioWorklet)
Updates ebitengine/oto#241
2024-07-28 16:34:01 +09:00
Hajime Hoshi
d086e83a62 internal/shader: stabilize wasm tests on GitHub CI 2024-07-26 03:16:34 +09:00
Hajime Hoshi
5d47863a27 internal/shader: bug fix: untyped const bool couldn't be an if condition
Closes #2993
2024-07-26 02:09:16 +09:00
Hajime Hoshi
09cefc6e71 internal/shader: bug fix: crash with an invalid operand
Closes #2989
2024-07-26 00:06:12 +09:00