Commit Graph

7069 Commits

Author SHA1 Message Date
Hajime Hoshi
2a6b53d96b internal/gamepad: bug fix: wrong offset especially on 32bit Linux
Closes #2122
2022-06-05 12:49:23 +09:00
Hajime Hoshi
77b67d0fe6 update Oto: unix: use arecord -L to list devices
Closes #2118
2022-06-05 12:17:18 +09:00
Hajime Hoshi
aef06f3b91 update Oto: try other devices than 'default' when needed
Closes #2118
2022-06-04 22:57:46 +09:00
Hajime Hoshi
b3ddeb6456 Revert "internal/graphicsdriver/directx: bug fix: ID3D12Resource::Map sometimes needs retrying"
This reverts commit a9afacc8c6.

Reason: The true culprit was #2117. #2116 was not a bug.

Updates #2116
Updates #2117
2022-06-04 01:12:35 +09:00
Hajime Hoshi
a9afacc8c6 internal/graphicsdriver/directx: bug fix: ID3D12Resource::Map sometimes needs retrying
Updates #2113
Closes #2116
2022-06-03 22:04:18 +09:00
Hajime Hoshi
dbb8067761 internal/graphicsdriver/directx: bug fix: ID3D12Resource::Unmap does not return an value
Updates #2113
Closes #2115
2022-06-02 12:56:48 +09:00
Hajime Hoshi
331dbfd899 internal/gamepad: bug fix: out of range at hatState on Windows
Closes #2103
2022-05-25 11:45:04 +09:00
Hajime Hoshi
81ac97a9bd cmd/ebitenmobile: update Go mobile to enable the latest Android SDK 24
Closes #2085
2022-05-19 09:03:40 +09:00
Hajime Hoshi
8024f70ba8 internal/processtest/testdata: add a test case for #2089
Updates #2089
2022-05-08 23:45:39 +09:00
Hajime Hoshi
39a4343116 internal/atlas: bug fix: wrong logic to create a new mask with edges
* Fixed wrong operator orders
 * Cleared an allocated region explicitlly

Closes #2089
2022-05-08 23:09:40 +09:00
Hajime Hoshi
ed3e7eaf9e inpututil: fix the comments
The unit of time is ticks, not frames.

Closes #2087
2022-05-06 20:43:29 +09:00
Hajime Hoshi
ea4dffbc71 internal/graphicsdriver/metal/mtl: bug fix: specify the language version explicitly
Updates #2086
2022-05-05 23:56:40 +09:00
Hajime Hoshi
9d9439751f internal/graphicsdriver/directx: bug fix: the screen image can be nil when resizing the window
Closes #2081
2022-04-26 11:21:49 +09:00
Hajime Hoshi
45929e04e1 internal/ui: bug fix: deadlock at Layout with Ebiten's image functions called
Closes #2079
2022-04-26 01:14:40 +09:00
Hajime Hoshi
e6b1c81bda update Oto to v2.1.0 2022-04-25 19:37:02 +09:00
Hajime Hoshi
cd917cc1d0 add Vivek Murali to AUTHORS 2022-04-24 12:16:08 +09:00
Vivek Murali
68f37bc7fd vector: fix spelling error in vector/path.go (#2078) 2022-04-24 12:15:59 +09:00
Hajime Hoshi
3b97d09772 internal/gamepaddb: bug fix: crash at addAndroidDefaultMappings
Closes #2076
2022-04-19 23:38:14 +09:00
Hajime Hoshi
b37962e4ff internal/atlas: potential bug fix: restore images before other image manipulations
From the reported stack trace, there could be a potential issue in
atlas.BeginFrame: images were manipulated before the images are restored.
Restoring images assumes that all images are not stale, but manipulating
images like putOnAtlas might cause other images stale in ReplacePixels.

Though we failed to reproduce the case, this fix should make sense.

Updates #2075
2022-04-18 02:45:41 +09:00
Hajime Hoshi
4a7fd6d78d ebiten: fix a doc 2022-04-15 15:05:40 +09:00
Hajime Hoshi
25a16a2143 ebiten: fix a wrong comment at WindowResizingModeOnlyFullscreenEnabled 2022-04-15 14:27:45 +09:00
Hajime Hoshi
efe11b2890 ebiten: update comments about VibrateGamepad 2022-04-15 13:56:04 +09:00
Hajime Hoshi
46aceb19b4 cmd/ebitenmobile: adjust gomobile version 2022-04-13 23:50:19 +09:00
Hajime Hoshi
efdc13a1ca ebiten: update the comments of the Game interface 2022-04-13 22:54:08 +09:00
Hajime Hoshi
5529ca2b58 update README 2022-04-12 22:23:19 +09:00
Hajime Hoshi
ab14c9ba9c Revert "examples/vibrate: bug fix: touches didn't work correctly"
This reverts commit c790d8aa7a.

Reason: This was not needed
2022-04-12 00:10:32 +09:00
Hajime Hoshi
c790d8aa7a examples/vibrate: bug fix: touches didn't work correctly 2022-04-12 00:06:36 +09:00
Hajime Hoshi
93e9e8249f update Oto to v2.1.0-rc.1 2022-04-11 11:31:08 +09:00
Hajime Hoshi
d189a120d2 update Oto 2022-04-11 10:56:42 +09:00
Hajime Hoshi
6b77e2edff update go-mp3 2022-04-11 10:46:57 +09:00
Hajime Hoshi
699b58c02b examples/flappy: bug fix: touches didn't work
Closes #2067
2022-04-11 10:44:41 +09:00
Hajime Hoshi
b53f93c614 examples/windowclosing: update the message 2022-04-11 01:10:48 +09:00
Hajime Hoshi
e4d6381452 examples/fullscreen: forbid quiting on browsers 2022-04-10 20:04:52 +09:00
Hajime Hoshi
535e64f2bf examples/audioinfiniteloop, examples/audiopanning: avoid resamplings 2022-04-10 19:41:44 +09:00
Hajime Hoshi
a65631bccc examples/spriteshd: remove a call of SetWindowSize 2022-04-10 19:15:39 +09:00
Hajime Hoshi
2a5b5b4823 internal/ui: avoid a busy loop in restoreWindow
Updates #1826
2022-04-10 17:55:39 +09:00
Hajime Hoshi
3fe1df8b3b internal/ui: bug fix: ebiten.WindowSize() returned (1,1) when iconified 2022-04-10 16:50:47 +09:00
Hajime Hoshi
aae866350a internal/ui: bug fix: (*glfw.Window).GetSize() returns (0,0) when iconified
Closes #2066
2022-04-10 16:43:03 +09:00
Hajime Hoshi
648c8ed1f9 examples/flappy: use DecodeWithSampleRate instead of Decode 2022-04-10 14:55:48 +09:00
Hajime Hoshi
9b7328442b examples/minify: reorder renderings 2022-04-09 23:27:58 +09:00
Hajime Hoshi
d3b83dd4ea internal/ui: refactoring 2022-04-09 18:23:56 +09:00
Hajime Hoshi
fcb7df0a59 internal/ui: bug fix: checking fullscreen on Safari was wrong 2022-04-09 17:25:19 +09:00
Hajime Hoshi
a69be34001 internal/ui: update the error message for fullscreen 2022-04-09 16:55:09 +09:00
Hajime Hoshi
d6fe8ed694 examples/fullscreen: handle F key to enter fullscreen
On browsers, fullscreen requires an explicit user input.
2022-04-09 16:23:23 +09:00
Hajime Hoshi
063960c9bd examples/font: simplify the logic 2022-04-09 16:08:20 +09:00
Hajime Hoshi
853d94c3ef internal/shader: implement strict type checks when calling a function
Closes #2032
2022-04-09 00:32:27 +09:00
Hajime Hoshi
15fe7158fd internal/shader: implement strict type checks in assignments
Closes #1972
2022-04-09 00:02:20 +09:00
Hajime Hoshi
93b4c0d9b1 internal/ui: add comments
Updates #1590
2022-04-08 18:40:13 +09:00
Hajime Hoshi
2008916261 internal/ui: bug fix: use the native unit for origWindowPosByOS 2022-04-08 16:43:13 +09:00
Hajime Hoshi
90070c09fe internal/ui: rename origPos -> origWindowPos 2022-04-08 15:59:16 +09:00