Commit Graph

5567 Commits

Author SHA1 Message Date
Hajime Hoshi
75b0e91228 internal/uidriver/js: Bug fix: CursorPosition crashed before the main loop on browsers
Closes #1559
2021-04-18 04:59:10 +09:00
Hajime Hoshi
29cb3dceb5 ebiten: Bug fix: Wrong documentation about SetScreenClearedEveryFrame
Closes #1555
2021-03-30 00:32:51 +09:00
Hajime Hoshi
af4866a87d Skip the Wasm tests on Ubuntu 2021-03-27 02:55:05 +09:00
Hajime Hoshi
918cd5b666 Update README about input devices on mobiles
Updates #1539
2021-03-27 00:39:05 +09:00
Hajime Hoshi
732fd5da0d internal/graphics: Bug fix: Race condition at QuadVertices
QuadVertices or verticesBackend.slice reused its backend slice.
This caused a race condition. QuadVertices can be accessed from
multiple goroutines, and resetting the head and copying the data
at internal/graphicscommand might not be synced.

This change fixes this issue by basically reverting
9cb631e30f.

Closes #1546
2021-03-20 16:56:54 +09:00
Humphrey Shotton
a41b15850d internal/graphicscommand: fix missing graphicscommand log (#1543)
Closes #1544
2021-03-15 02:15:35 +09:00
Hajime Hoshi
1a2b308ae3 cmd/ebitenmobile: Bug fix: Skip 'uinput-fpc' on the joystick detection on Android
Apparently 'uinput-fpc' is a fingerprint reader and is recognized as
a joystick unexpectedly. This was often a primary gamepad on Ebiten
and confused Ebiten applications.

This change fixes this issue by skipping 'uinput-fpc' at the joystick
detection.

Closes #1542
2021-03-14 23:28:20 +09:00
Hajime Hoshi
5c5a2cf0f8 ebiten: Update input API comments for Android
Closes #1539
2021-03-14 18:05:06 +09:00
Hajime Hoshi
e72821cdd7 Revert "uidriver/glfw: Bug fix: Do not iconify the fullscreen window automatically"
This reverts commit 61bf10e73e.

Reason: This prevents the app from iconifying when toggling apps.

Updates #1405
Closes #1504
2021-02-23 20:20:54 +09:00
Hajime Hoshi
0dd5cc3097 examples/audiopanning: Bug fix: Fix several issues
* The stream was not looped.
 * The shown position was wrong.

Closes #1502
2021-02-22 02:02:28 +09:00
Hajime Hoshi
464d4efcb1 internal/graphicsdriver/opengl/gl: Bug fix: Remove unsafe reflect usage
Closes #1495
2021-02-17 14:59:04 +09:00
Hajime Hoshi
115c11232e Revert "cmd/ebitenmobile: Use the better way to go-get dependencies"
This reverts commit ad2d356262.

Reason: Installation failed on Windows.

Closes #1493
2021-02-14 18:27:27 +09:00
Hajime Hoshi
c593c3f266 cmd/ebitenmobile: Use the better way to go-get dependencies
Updates #1487
2021-02-12 02:47:02 +09:00
Hajime Hoshi
7cd09649fc cmd/ebitenmobile: Bug fix: Record go.sum correctly to build gomobile/gobind
Closes #1487
2021-02-10 02:22:02 +09:00
Hajime Hoshi
ea9c9cd7e2 cmd/ebitenmobile: Update gomobile version
This change fixes these issues:

 * Fail to run on Go 1.16 and after
 * Fail to run on Android NDK r22 and after

Closes #1484
2021-02-09 02:22:20 +09:00
Hajime Hoshi
82746e3c12 cmd/ebitenmobile, internal/devicescale: Experimental fix of the display density
Closes #1481
2021-02-07 14:18:01 +09:00
Hajime Hoshi
345c25f204 ebiten: Bug fix: The vertex backend was not flushed when the screen is shrunk
The last parameter of QuadVertices represents whether we can flush
the backend vertices (on Wasm). The problem was that this was
unexpectedly false even though the image is the screen, when the
screen rendering is done with FilterLinear instead of FilterScreen.

Closes #1479
2021-01-31 22:42:05 +09:00
Hajime Hoshi
82050d6ac1 audio: Bug fix: Deadlock at acquiring the semaphore
Closes #1469
2021-01-23 23:11:46 +09:00
Hajime Hoshi
d655d5f66c Use the more stable version of wasmbrowsertest 2021-01-05 12:45:04 +09:00
Hajime Hoshi
f8a1bba118 packing: Bug fix: Extend could create a too big page
Closes #1454
2020-12-31 17:35:40 +09:00
Hajime Hoshi
8511159316 uidriver/glfw: Bug fix: OpenGL was adopted unexpectedly on macOS Big Sur
Fixes #1429
2020-12-09 10:22:15 +09:00
Hajime Hoshi
63cfd9151c Update Oto to v0.6.8
Fixes #1424
2020-11-29 13:02:19 +09:00
Hajime Hoshi
6a24d6b2c6 uidriver/glfw: Bug fix: Do not iconify the fullscreen window automatically
Fixes #1405
2020-11-22 22:42:21 +09:00
Hajime Hoshi
4c7eaeaf02 mipmap: Bug fix: Too big scale tried to allocate too big images
Fixes #1399
2020-10-21 11:33:52 +09:00
Hajime Hoshi
356391a36c mipmap: Bug fix: Scale could be Inf/0 and caused a forever loop
Fixes #1398
2020-10-21 10:57:41 +09:00
Hajime Hoshi
75232e315c Update Oto to v0.6.6 2020-10-19 04:06:12 +09:00
Hajime Hoshi
00bdf71ec3 ebiten: Add an explicit type to CursorModeType consts for pkg.go.dev 2020-10-18 03:56:34 +09:00
Hajime Hoshi
0c0981c391 ebiten: Fix comments 2020-10-18 01:31:32 +09:00
Hajime Hoshi
09a6769fa7 Update README.md 2020-10-15 23:25:20 +09:00
Hajime Hoshi
2afeb86985 graphicsdriver/metal: Bug fix: Had to set the vsync state again at resetting
Fixes #1364
2020-10-14 01:59:03 +09:00
Hajime Hoshi
9fdf60a7ed audio: Bug fix: Rare crash on macOS/iOS
Fixes #1386
2020-10-12 23:24:12 +09:00
Hajime Hoshi
1508fd33e8 audio: Remove returning values from Play/Pause 2020-10-10 23:45:59 +09:00
Hajime Hoshi
a5e4d53859 Update Ebiten to v2.0.0-rc.1 2020-10-10 23:08:34 +09:00
Hajime Hoshi
dfeb48b154 examples/windowsize: Fix the message 2020-10-10 23:00:49 +09:00
Hajime Hoshi
5d4c57c328 Update dependencies 2020-10-10 22:18:41 +09:00
Hajime Hoshi
7f55fdf769 uidriver/js: Stop auto-focusing on loading when the page is in an iframe
Fixes #1373
2020-10-10 15:52:33 +09:00
Hajime Hoshi
10f394f72b examples/wav: Play SE immediately 2020-10-10 05:03:51 +09:00
Hajime Hoshi
b1c67c7661 ebiten: Introduce type TouchID
Fixes #604
2020-10-10 03:57:47 +09:00
Hajime Hoshi
809b7a3afa ebiten: Introduce type GamepadID
Updates #604
2020-10-08 01:57:08 +09:00
Hajime Hoshi
bb20e62435 examples/gamepad: Bug fix: Misuse of indices and gamepad IDs 2020-10-08 01:13:51 +09:00
Hajime Hoshi
0673b384d8 audio: Update the comment
Updates #859
2020-10-07 23:43:38 +09:00
Hajime Hoshi
67429e5057 Update GitHub workflow 2020-10-07 23:40:59 +09:00
Hajime Hoshi
f1f7b350de audio, audio/mp3, audio/vorbis, audio/wav: Remove Close functions
Fixes #859
2020-10-07 23:39:58 +09:00
Hajime Hoshi
946cf1d250 Improve portability of genkeys.go 2020-10-07 02:25:16 +09:00
Hajime Hoshi
dc288d37f8 Bug fix: Compile error for Wasm 2020-10-07 02:23:45 +09:00
Hajime Hoshi
ee4ebaaa95 Clean up the 'js' build tags
Updates #1129
2020-10-07 02:07:03 +09:00
Hajime Hoshi
426cb5948a audio/vorbis: Remove the GopherJS part
Updates #1129
2020-10-07 01:33:19 +09:00
Hajime Hoshi
a22fdee171 audio/mp3: Remove the GopherJS part
Updates #1129
2020-10-07 01:33:19 +09:00
Hajime Hoshi
7a0e31a23a Clean up the 'js' build tags
Updates #1129
2020-10-07 01:33:10 +09:00
Hajime Hoshi
a046700ae1 text: Remove the optimization for GopherJS 2020-10-07 01:13:31 +09:00