Hajime Hoshi
1d75c9e967
audio/internal/convert: Seek with incomplete bytes should work
...
Usually users use audio.Player objects and doesn't use Resampling
object directly. Resampling object itself is exposed by
audio.Resample, but this is usually used with audio.Player objects.
Thus, this issue is not so serious in the real world.
2024-07-14 18:37:15 +09:00
Hajime Hoshi
fc70392093
audio/internal/convert: typo
2024-07-14 17:51:44 +09:00
Hajime Hoshi
b552266afe
audio/internal/convert: enable to resample a float32 stream
...
Updates #2160
2024-07-14 17:51:24 +09:00
Hajime Hoshi
bf90217e68
audio: skip TestNonSeekableSource on browsers
2024-07-14 01:22:15 +09:00
Hajime Hoshi
0963b8a7e3
audio: bug fix: players were not finished at TestNonSeekableSource
2024-07-14 00:48:55 +09:00
Hajime Hoshi
91cdaa9f11
audio/internal/convert: bug fix: Read never returned io.EOF when seeked
2024-07-14 00:04:32 +09:00
Hajime Hoshi
c03ece2671
audio: GC a player
...
This is not necessary but it is always better to clean up unused
players.
2024-07-14 00:03:59 +09:00
Hajime Hoshi
03ca5c3b26
audio/internal/convert: bug fix: skip tests on browsers correctly
2024-07-14 00:03:44 +09:00
Hajime Hoshi
bf3ded2a55
audio: bug fix: test out of memory on browsers
2024-07-13 23:13:30 +09:00
Hajime Hoshi
6f74e03cb3
audio/internal/convert: better tests
2024-07-13 22:42:26 +09:00
Hajime Hoshi
96a07c1bf2
audio/internal/convert: bug fix: skip some tests on browsers
2024-07-13 22:39:37 +09:00
Hajime Hoshi
43f505b3a0
audio: use float32 format under the hood
...
Updates #2160
2024-07-13 21:46:39 +09:00
Hajime Hoshi
9bc5ed3847
internal/graphicscommand: bug fix: missing file
...
Updates #3036
2024-07-12 11:30:36 +09:00
Hajime Hoshi
7b46df44ee
internal/graphicscommand: bug fix: buffered write pixel args might never be released
...
Closes #3036
2024-07-12 11:25:50 +09:00
Bertrand Jung
46d171c3c5
all: open up for more destinations images ( #3013 )
...
Updates #2930
2024-07-09 02:05:55 +09:00
Hajime Hoshi
23a143459c
all: update bitmapfont to v3.2.0-alpha.3
2024-07-09 00:31:55 +09:00
Hajime Hoshi
f8e3bef368
audio/internal/convert: refactoring: move utilities to audio/vorbis
2024-07-07 17:03:11 +09:00
Hajime Hoshi
343fd7084f
all: update golang.org/x/sys
2024-07-07 01:09:56 +09:00
Hajime Hoshi
1679555bbb
internal/ui: fix a wrong comment
2024-07-07 01:05:40 +09:00
Hajime Hoshi
844a4de872
audio: remove const bytesPerSampleInt16
...
This is a preparation for float32 players.
Updates #2160
2024-07-06 23:57:05 +09:00
Hajime Hoshi
073d022c2e
internal/graphicsdriver/opengl: remove IsFramebuffer and IsRenderbuffer
...
These function return true in most cases, and when these return false,
the situation is pretty bad and recovering the situation would not be
possible.
IsFramebuffer and IsRenderbuffer cause round trips and affect performance.
Let's remove them.
2024-07-06 19:15:01 +09:00
Hajime Hoshi
1db031a9d7
all: update bitmapfont (bug fix for some glyphs)
2024-07-06 18:15:57 +09:00
Hajime Hoshi
9ef27a2c75
audio: make applicationState() thread-safe
...
Closes #3021
2024-07-06 17:41:42 +09:00
Hajime Hoshi
4997e7e254
internal/graphicsdriver/opengl: lazy error check of shaders
...
See https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/WebGL_best_practices#dont_check_shader_compile_status_unless_linking_fails
2024-07-04 21:47:52 +09:00
Hajime Hoshi
ed73f028c7
internal/ui: refactoring
2024-07-04 16:58:45 +09:00
Hajime Hoshi
3a18b32cbd
internal/ui: bug fix: the screen size must be initialized first even when the canvas is unfocused
...
Closes #3034
2024-07-04 16:17:19 +09:00
Hajime Hoshi
126af1420f
all: update bitmapfont (using LZ4)
2024-07-04 13:57:20 +09:00
Hajime Hoshi
9d20c7b9df
all: update bitmapfont
2024-07-04 13:19:20 +09:00
Hajime Hoshi
346aaf071e
internal/graphicscommand: add screen info to log
2024-07-04 02:01:56 +09:00
Hajime Hoshi
94a93f8032
internal/atlas: assume backend.image is never nil
2024-07-04 02:00:42 +09:00
Hajime Hoshi
c29d4b24bb
internal/graphicsdriver/opengl: skip checkFramebufferStatus on browsers
2024-07-03 20:34:44 +09:00
Hajime Hoshi
c5974390a8
text/v2: add glyphImageCache.atime
...
If many runes were added at the same time, GCing the current cache
did nothing and wasted time.
2024-07-03 18:40:40 +09:00
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