Hajime Hoshi
c1315b3238
all: update bitmapfont
2024-07-02 23:03:08 +09:00
Ernest Romero Climent
9d4f88c992
ebiten: update image.DrawTriangles* to re-use indices ( #3026 )
...
Reduces allocations and GC overhead for programs that
call this method hundreds of times per rendered frame.
2024-07-02 16:40:53 +09:00
Hajime Hoshi
e3af35e6ff
.github/workflows: build with GOARCH=amd64 explicitly on macOS
...
Now a macOS server is arm64, not amd64.
See https://github.com/actions/runner-images/issues/9741
2024-07-02 10:44:30 +09:00
Hajime Hoshi
4267664b8b
all: update Oto to v3.3.0-alpha.2
2024-07-02 00:06:58 +09:00
Hajime Hoshi
2a22260d14
internal/atlas: backends for unmanaged images were never released
...
Closes #3030
2024-06-30 23:45:27 +09:00
Hajime Hoshi
3f91d8cdf1
internal/atlas: refactoring
2024-06-30 22:39:25 +09:00
Hajime Hoshi
ec7ef5e6a3
internal/atlas: add comments
2024-06-30 22:22:27 +09:00
Hajime Hoshi
5b8fd9733c
internal/atlas: refactoring
2024-06-30 19:21:42 +09:00
Hajime Hoshi
9ff93e3063
all: fix comments
2024-06-30 18:56:07 +09:00
Hajime Hoshi
def82fd5d3
internal/atlas: refactoring: remove ImageTypeVolatile
...
ImageTypeVolatile was meaningful when Ebitengine had `restorable`
package, but now this doesn't make sense.
2024-06-30 18:50:02 +09:00
Hajime Hoshi
32417353d3
internal/ui: bug fix: the window size callback was not called on macOS
...
This is basically a revert of e150745598
.
As the window size callback was not called, ebiten.WindowSize didn't
work correctly for a while.
Even after this change, the issue #2257 could not be reproduced. This
is mysterious, but probably macOS itself has updated.
Updates #2257
Closes #3029
2024-06-30 15:59:15 +09:00
Hajime Hoshi
f6fbb3ddea
all: update Oto
2024-06-29 15:47:20 +09:00
dependabot[bot]
4061742067
build(deps): bump golang.org/x/image from 0.17.0 to 0.18.0 ( #3028 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-27 13:25:42 +09:00
Hajime Hoshi
b749976a84
examples/resources/images: update the licenses for the Gopher images
2024-06-23 12:09:40 +09:00
Hajime Hoshi
0c3b4a2d91
examples/resources/images: update the license URLs for ebiten.png
2024-06-23 12:07:51 +09:00
Hajime Hoshi
c86874b506
all: update PureGo to v0.8.0-alpha.3
2024-06-23 01:23:32 +09:00
Hajime Hoshi
7524f990ba
.github/workflows: add Go v1.23.0 to tests
2024-06-22 13:53:25 +09:00
Hajime Hoshi
b7015c4354
.github/workflows: bug fix: wrong version was specified
2024-06-22 02:45:29 +09:00
Hajime Hoshi
96984210e1
.github/workflows: update action versions
2024-06-22 02:43:36 +09:00
Hajime Hoshi
1cd6a1f10c
examples/wav: add -bits option to specify 8bits
2024-06-22 01:25:04 +09:00
Hajime Hoshi
0eb2b9980d
all: update purego
2024-06-20 21:08:12 +09:00
Hajime Hoshi
76a170eecf
examples/resources/images: update the licenses
2024-06-20 03:25:39 +09:00
Hajime Hoshi
941aec5f51
ebitenutil: update documentation for DebugPrint
...
Closes #2977
2024-06-19 03:10:51 +09:00
Hajime Hoshi
a6d7cadab7
internal/graphicsdriver/playstation5: change struct member names
2024-06-17 03:04:18 +09:00
Ikko Eltociear Ashimine
dc8dfae3bf
examples/windowsize: fix typo ( #3022 )
2024-06-16 03:42:42 +09:00
Hajime Hoshi
ffb77757f0
all: update dependencies
2024-06-13 01:06:09 +09:00
Hajime Hoshi
60f0a03749
all: go mod tidy
2024-06-13 01:04:05 +09:00
Hajime Hoshi
22339c2510
all: update dependencies
2024-06-13 00:56:35 +09:00
Hajime Hoshi
96e0fd7a50
exp/textinput: bug fix: pressing enter key was often ignored on iOS Safari
...
Closes #3015
2024-06-12 02:44:51 +09:00
Hajime Hoshi
546c47878d
exp/textinput: bug fix: issues on browsers
...
This change addresses on these issues on browsers:
* Pressing cursor keys didn't work well.
This is fixed by calling trySend with true on desktops (not mobiles).
* Inputting failed just after moving a cursor.
This is fixed by resetting a session correctly.
* Sometimes pressing the enter key inserted a new line unexpectedly.
This is fixed by calling `preventDefault`.
Closes #3014
2024-06-12 01:31:15 +09:00
Bertrand Jung
22fd1f107e
internal/graphics: renamed shader image count to specify src ( #3012 )
...
This just specifies that the constant refers to the number of source images passed to a shader.
This makes a distinction with the number of dst images, that could potentially be more than 1 in the future.
2024-06-10 02:02:47 +09:00
Hajime Hoshi
aa6bc1690e
.github/workflows: typo
...
Updates #2972
2024-06-09 11:54:52 +09:00
Hajime Hoshi
b121468991
ebiten: add FillRuleFillAll
, FillRuleEvenOdd
, and FillRuleNonZero
...
This change also deprecates the existing constants.
Closes #3006
2024-06-08 17:58:33 +09:00
Hajime Hoshi
d37301eeeb
.github/workflow: disable wasm tests on Windows temporarily
...
Updates #2982
2024-06-08 14:34:04 +09:00
Hajime Hoshi
e5d10c47e7
internal/graphicsdriver: reland: rename FillRule constants
...
Updates #3006
2024-06-08 12:16:20 +09:00
Hajime Hoshi
6ac1270cb0
Revert "internal/graphicsdriver: rename FillRule constants"
...
This reverts commit ab4a3af1b5
.
Reason: compile error on Windows
2024-06-08 12:10:27 +09:00
Hajime Hoshi
ab4a3af1b5
internal/graphicsdriver: rename FillRule constants
...
Updates #3006
2024-06-08 11:54:46 +09:00
Hajime Hoshi
78ba0ded93
Revert "internal/glfw: bug fix: limit the DWM swap interval to Vista and 7"
...
This reverts commit 86e0bcc264
.
Reason: This caused some issues like too much GPU usages.
Updates #2961
Closes #3003
2024-06-04 21:06:51 +09:00
XXIV
216a110761
internal/glfw: fix memory leak ( #3008 )
2024-06-04 13:00:20 +09:00
Matúš Ollah
7ddc349ae6
text/v2: fix typo ( #3004 )
2024-05-31 00:57:32 +09:00
Hajime Hoshi
d0aaa23005
Revert "internal/atlas: reduce slice allocations"
...
This reverts commit 9442b244fc
.
Reason: the slice was not escaped to heap, so this optimization was not needed
2024-05-27 23:47:39 +09:00
Hajime Hoshi
9442b244fc
internal/atlas: reduce slice allocations
2024-05-27 23:32:17 +09:00
Hajime Hoshi
4818768965
shaderprecomp: remove ShaderSourceID
...
`ShaderSourceID` was confusing as there was no guarantee the same ID is
used for the same source if Ebitengine versions are different.
`ShaderSource` should be kept as the built-in shader contents should not
be exposed.
Updates #2861
Closes #2999
2024-05-27 00:01:05 +09:00
Hajime Hoshi
83ae577c80
Revert "shaderprecomp: remove ShaderSource
and ShaderSourceID
"
...
This reverts commit 8be3bb41d5
.
Reason: removing `ShaderSource` unexpected exposes the source.
Updates #2999
2024-05-26 22:45:12 +09:00
Hajime Hoshi
8be3bb41d5
shaderprecomp: remove ShaderSource
and ShaderSourceID
...
This change simplifies the APIs to avoid some confusions around IDs.
Updates #2861
Closes #2999
2024-05-26 22:42:52 +09:00
Hajime Hoshi
3279688dd6
Revert "shaderprecomp: accept an ID instead of source to register"
...
This reverts commit ecc3f29af1
.
Reason: we are considering to remove ShaderSourceID
Updates #2861
Updates #2999
2024-05-26 21:29:44 +09:00
Hajime Hoshi
ecc3f29af1
shaderprecomp: accept an ID instead of source to register
...
Updates #2861
2024-05-26 19:39:30 +09:00
Hajime Hoshi
1c438cb5c8
examples/shaderprecomp/fxc, examples/shaderprecomp/metallib: add go:build
2024-05-26 16:05:58 +09:00
Hajime Hoshi
13c7518400
all: update bitmapfont
2024-05-26 15:55:48 +09:00
Hajime Hoshi
38d2892906
internal/glfw: bug fix: the cursor position was reset unexpectedly
...
There was a mistake when updating GLFW to v3.3.9 at 4647e9de53
.
When the cursor mode is set to be enabled, the cursor position was
unexpectedly reset. This change fixes the issue.
Closes #2997
2024-05-26 15:11:50 +09:00