Commit Graph

5447 Commits

Author SHA1 Message Date
Hajime Hoshi
12878571f6 uidriver/mobile: Refactoring 2020-08-29 02:48:06 +09:00
Hajime Hoshi
b76c34336d uidriver/mobile: Reduce mutex usages 2020-08-29 00:24:30 +09:00
Hajime Hoshi
91aa6a0f3a mobile/ebitenmobileview: Remove mutex usages 2020-08-29 00:18:42 +09:00
Hajime Hoshi
0f21829867 shareable: Bug fix: Add the padding to the offsets when there are no sources
Fixes #1320
2020-08-27 03:42:23 +09:00
Hajime Hoshi
0cf5216c29 ebiten: Update tests
Updates #1283
2020-08-26 03:11:32 +09:00
Hajime Hoshi
2c42d06845 ebiten: Add a shader test
Updates #1283
2020-08-26 02:49:46 +09:00
Hajime Hoshi
c6dc2eb4dc Update dependencies 2020-08-24 13:02:38 +09:00
Hajime Hoshi
442849e120 ebiten: Skip some tests on Wasm
They are flagile and sometimes causes crash on GitHub Actions workflow
tests.
2020-08-24 04:10:24 +09:00
Hajime Hoshi
12e5617396 uidriver/glfw: Update comments 2020-08-24 04:07:08 +09:00
Hajime Hoshi
932d599c98 uidriver/glfw: Bug fix compilation failure on macOS and Windows 2020-08-24 03:31:46 +09:00
Hajime Hoshi
a7d234e3c8 uidriver/glfw: Refactoring: make currentMonitorByOS more explicit 2020-08-24 03:27:38 +09:00
Hajime Hoshi
9bff1c79be uidriver/glfw: Refactoring 2020-08-24 03:05:38 +09:00
Hajime Hoshi
af6961fc17 uidriver/glfw: Bug fix: isInitWindowMaximized didn't unlock the mutex 2020-08-24 02:55:31 +09:00
Hajime Hoshi
b1bc06935a uidriver/glfw: Update comments 2020-08-24 00:57:48 +09:00
Hajime Hoshi
ed3a4a734e uidriver/glfw: Refactoring 2020-08-24 00:34:57 +09:00
Hajime Hoshi
9f8054c2d5 uidriver/glfw: Misspelling 2020-08-24 00:10:43 +09:00
Hajime Hoshi
07480ed66d uidriver/glfw: Add better fallbacks for currentMonitorFromPosition
Updates #1119
2020-08-23 23:38:03 +09:00
Hajime Hoshi
01a84a7121 audio/mp3: Make panic messages more consistent 2020-08-23 19:50:43 +09:00
Hajime Hoshi
d0181ce130 audio/wav: Remove an unused function 2020-08-23 19:49:31 +09:00
Hajime Hoshi
50fc914d72 Revert "audio/wav: Allow passing non-io.Seeker to Decode"
This reverts commit 19cd69da55.

Reason: Marked #1202 'won't fix'
2020-08-23 19:46:28 +09:00
Hajime Hoshi
19cd69da55 audio/wav: Allow passing non-io.Seeker to Decode
Updates #1202
2020-08-23 19:15:20 +09:00
Hajime Hoshi
2a6241234d Update the 'overview' image to v1.12 2020-08-23 17:26:53 +09:00
Hajime Hoshi
10d6a3ad67 uidriver/glfw: Bug fix: Crash on Wine when getting a monitor 2020-08-23 02:31:52 +09:00
Hajime Hoshi
77fa0cb9ef ui: Add SetInitFocused
Fixes #769
2020-08-23 02:19:09 +09:00
Hajime Hoshi
dea716c9a6 uidriver: Remove force focusing by clicking the body
As long as the game is embedded in an iframe, this is no longer
needed.
2020-08-22 18:40:34 +09:00
Hajime Hoshi
bd888f62b9 graphicsdriver/opengl: Exclude bytes.go from non-mobile environments
This requires reflect and reflect prevents Ebiten from being compiiled
with TinyGo.

Updates #747
2020-08-20 22:24:21 +09:00
Tom Lister
65d5b64d29
ebiten: Rename SetClearingScreenSkipped/IsClearingScreenSkipped functions (#1317)
Fixes #1315
2020-08-20 17:12:22 +09:00
Hajime Hoshi
4f791a8e85 Build all libraries on sourcehut build 2020-08-20 01:08:44 +09:00
Hajime Hoshi
3060ad96f1 examples/contextlost: Fix comments 2020-08-20 00:45:59 +09:00
Hajime Hoshi
85d172c673 uidriver/mobile: Bug fix: The context didn't recovered on gomobile-build
Updates #1176
2020-08-19 23:59:27 +09:00
Hajime Hoshi
bb50887bae Simplify the workflow a little 2020-08-19 23:18:59 +09:00
Hajime Hoshi
dfc23ee557 ebiten: Skip tests in the short mode 2020-08-19 23:11:54 +09:00
Hajime Hoshi
23dd8bb364 Integrate all the test cases in a matrix 2020-08-19 23:00:48 +09:00
Hajime Hoshi
80d04732c2 Revert "ebiten: Skip heavy tests even on Wasm"
This reverts commit 0ee70df466.

Reason: This didn't affect the results
2020-08-19 23:00:45 +09:00
Hajime Hoshi
9c85b20817 ebiten: Bug fix: Test compilation error 2020-08-19 22:41:36 +09:00
Hajime Hoshi
0ee70df466 ebiten: Skip heavy tests even on Wasm
Updates #1313
2020-08-19 22:33:01 +09:00
Hajime Hoshi
213fbd283a ebiten: Bug fix: Skip the tests correctly 2020-08-19 22:07:15 +09:00
Hajime Hoshi
545f4b0ed3 Test more Go versions
Updates #1313
2020-08-19 21:47:59 +09:00
Hajime Hoshi
6718cd32a6 examples/contextlost: Skip Draw when the context lost happens
Updates #1314
2020-08-19 21:15:49 +09:00
Hajime Hoshi
7329880f40 restorable: Make the image stale when volatile state changes 2020-08-19 21:13:05 +09:00
Hajime Hoshi
7ec63acd1d ebiten: Bug fix: Set the state of being volatile on SetClearingScreenSkipped
Fixes #1309
2020-08-19 01:23:30 +09:00
Hajime Hoshi
8aef1f9080 restorable: Enable to set the 'volatile' state later
Updates #1309
2020-08-19 00:57:23 +09:00
Hajime Hoshi
bebad644ad ebiten: Refactoring 2020-08-18 23:31:19 +09:00
Hajime Hoshi
c921a63c21 graphicsdriver/opengl/gl: Bug fix: Crash on Parallels
Fixes #1310
2020-08-18 04:33:59 +09:00
Hajime Hoshi
a48c0d9f2c ebiten: Skip some tests on Go1.12 Wasm 2020-08-17 04:15:33 +09:00
Hajime Hoshi
16697ffbf2 Update Oto version
This might fix the potential deadlock in audio.

Updates #1308
2020-08-17 03:45:23 +09:00
Hajime Hoshi
da289e50c3 Add macOS and Windows on GitHub Actions
Updates #1305
2020-08-17 02:45:43 +09:00
Hajime Hoshi
abb716dff5
Add GitHub Actions badge to README 2020-08-17 01:04:23 +09:00
Hajime Hoshi
59c5bd1585 Add GitHub Actions workflow
Fixes #939
2020-08-17 00:52:44 +09:00
Hajime Hoshi
64a6b39240 Revert "restorable: Do not record pixels if restoring is not requried"
This reverts commit 5e1f263d6d.

Reason: Issue #1304
2020-08-17 00:00:12 +09:00