Commit Graph

5499 Commits

Author SHA1 Message Date
Hajime Hoshi
e8d9fcf220 internal/uidriver/js: Bug fix: CursorPosition crashed before the main loop on browsers
Closes #1559
2021-04-18 04:57:55 +09:00
Hajime Hoshi
49c535fe84 ebiten: Bug fix: Wrong documentation about SetScreenClearedEveryFrame
Closes #1555
2021-03-30 00:32:39 +09:00
Hajime Hoshi
b0f89b44b6 Skip the Wasm tests on Ubuntu 2021-03-27 02:54:54 +09:00
Hajime Hoshi
d233a0f058 Update README about input devices on mobiles
Updates #1539
2021-03-27 00:38:52 +09:00
Hajime Hoshi
fc867d4b0b 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:53:11 +09:00
Humphrey Shotton
e4080b9830 internal/graphicscommand: fix missing graphicscommand log (#1543)
Closes #1544
2021-03-15 02:14:45 +09:00
Hajime Hoshi
00236daa39 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:04 +09:00
Hajime Hoshi
62dab47dcd ebiten: Update input API comments for Android
Closes #1539
2021-03-14 18:04:39 +09:00
Hajime Hoshi
a8dff589d1 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:10 +09:00
Hajime Hoshi
a829f8d94c examples/audiopanning: Bug fix: Fix several issues
* The stream was not looped.
 * The shown position was wrong.

Closes #1502
2021-02-22 02:02:12 +09:00
Hajime Hoshi
2d817a10fc internal/graphicsdriver/opengl/gl: Bug fix: Remove unsafe reflect usage
Closes #1495
2021-02-17 14:58:45 +09:00
Hajime Hoshi
e110abbc9e 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:10 +09:00
Hajime Hoshi
9277ac108b cmd/ebitenmobile: Use the better way to go-get dependencies
Updates #1487
2021-02-12 02:46:16 +09:00
Hajime Hoshi
3fecdd601a cmd/ebitenmobile: Bug fix: Record go.sum correctly to build gomobile/gobind
Closes #1487
2021-02-10 02:20:44 +09:00
Hajime Hoshi
702fa8cb8b 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:02 +09:00
Hajime Hoshi
9db2017648 cmd/ebitenmobile, internal/devicescale: Experimental fix of the display density
Closes #1481
2021-02-07 14:17:17 +09:00
Hajime Hoshi
19b3735ad7 gofmt 2021-01-31 22:41:39 +09:00
Hajime Hoshi
321bc6d998 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:40:58 +09:00
Hajime Hoshi
53c300a93f audio: Bug fix: Deadlock at acquiring the semaphore
Closes #1469
2021-01-23 23:11:22 +09:00
Hajime Hoshi
f488988384 Use the more stable version of wasmbrowsertest (.travis.yml) 2021-01-05 20:01:58 +09:00
Hajime Hoshi
6fffde13bb Use the more stable version of wasmbrowsertest 2021-01-05 12:44:45 +09:00
Hajime Hoshi
446d216da0 packing: Bug fix: Extend could create a too big page
Closes #1454
2020-12-31 17:35:26 +09:00
Hajime Hoshi
1be8c3fc16 uidriver/glfw: Bug fix: OpenGL was adopted unexpectedly on macOS Big Sur
Fixes #1429
2020-12-09 10:22:00 +09:00
Hajime Hoshi
68a5bcd066 Update Oto to v0.6.8
Fixes #1424
2020-11-29 13:01:25 +09:00
Hajime Hoshi
0527073264 uidriver/glfw: Bug fix: Do not iconify the fullscreen window automatically
Fixes #1405
2020-11-22 22:43:53 +09:00
Hajime Hoshi
d6c0cfe3ad ebiten: Bug fix: Compile error on the new tests
Updates #1399
2020-10-21 11:39:29 +09:00
Hajime Hoshi
dcdd1f287a mipmap: Bug fix: Too big scale tried to allocate too big images
Fixes #1399
2020-10-21 11:36:12 +09:00
Hajime Hoshi
02094c2bff mipmap: Bug fix: Scale could be Inf/0 and caused a forever loop
Fixes #1398
2020-10-21 11:01:21 +09:00
Hajime Hoshi
320282667f Update Oto to v0.6.6 2020-10-19 04:05:46 +09:00
Hajime Hoshi
3e0cf29a26 ebiten: Add an explicit type to CursorModeType consts for pkg.go.dev 2020-10-18 03:56:17 +09:00
Hajime Hoshi
ac6930f831 ebiten: Fix comments 2020-10-18 01:31:48 +09:00
Hajime Hoshi
fe558545c7 graphicsdriver/metal: Bug fix: Had to set the vsync state again at resetting
Fixes #1364
2020-10-14 01:58:36 +09:00
Hajime Hoshi
01be505f30 audio: Bug fix: Rare crash on macOS/iOS
Fixes #1386
2020-10-12 23:23:46 +09:00
Hajime Hoshi
57eab0f1a8 examples/gamepad: Bug fix: Misuse of indices and gamepad IDs 2020-10-08 01:14:14 +09:00
Hajime Hoshi
176e383de4 audio/wav: Fix a wrong comment 2020-10-07 23:23:12 +09:00
Hajime Hoshi
a440504c9e text: Bug fix: Draw didn't work correctly with non-integer glyph bounds
Fixes #1377
2020-10-03 23:08:40 +09:00
Hajime Hoshi
88aeca7392 text: Bug fix: Treat negative kernings correctly
Fixes #1378
2020-10-03 20:03:51 +09:00
Hajime Hoshi
f731c563e4 Add Bui Quoc Trong to AUTHORS 2020-09-29 22:03:21 +09:00
Bui Quoc Trong
985ee12164 Fix the comment style cause heading in pkgsite (#1369) 2020-09-29 22:03:11 +09:00
Hajime Hoshi
14fc77f776 ebiten: Add comments about shaders 2020-09-23 17:13:34 +09:00
Hajime Hoshi
dc2662e463 ebiten: Add links to documents/shader.html 2020-09-23 16:45:21 +09:00
Hajime Hoshi
acf589b1bd ebiten: Better comments about uniform variables 2020-09-23 16:25:02 +09:00
Hajime Hoshi
7386fa3bbc uidriver/glfw: Bug fix: Need to call updateVsync after setWindowSize
Fixes #1363
2020-09-22 18:48:05 +09:00
Hajime Hoshi
26768aa831 shaderir: Bug fix: Implement atan2 for Metal correctly
Fixes #1360
2020-09-22 04:30:38 +09:00
Hajime Hoshi
a3634e163a Update version to v1.12.0-rc.2 2020-09-21 21:07:32 +09:00
Hajime Hoshi
a95fbd6104 Update version to v1.12.0-rc.1 2020-09-21 20:44:11 +09:00
Hajime Hoshi
ee52c88e98 uidriver/glfw: Bug fix: Set the correct window size when going back from fullscreen 2020-09-21 19:20:58 +09:00
Hajime Hoshi
3fc328db8d uidriver/glfw: Adjust monitor sizes with math.Ceil
deviceScaleFactor() sometimes returns an unnice value (e.g.,
1.502361). Add math.Ceil whenever the calculation involves the
device scale factor.
2020-09-21 18:52:27 +09:00
Hajime Hoshi
8cb037e902 examples/gamepad: Sort gamepad ids when showing the states 2020-09-21 17:30:28 +09:00
Hajime Hoshi
f3ef2e2af5 Performance optimization for the path without a shader
Fixes #1355
2020-09-21 05:43:24 +09:00