Hajime Hoshi
8c779447db
shader: Friendly error messages when local variable names are duplicated
...
Fixes #1254
2020-08-30 21:22:10 +09:00
Hajime Hoshi
349faa0f34
thread: Use an error value instead of context.Context
2020-08-30 02:18:12 +09:00
Hajime Hoshi
9e678b9ecf
ebiten: Add shader tests
...
Updates #1283
2020-08-30 01:50:03 +09:00
Hajime Hoshi
1ed2b09ba0
uidriver/glfw: Ensure that canceling happens after all the queued tasks are done
2020-08-29 23:27:20 +09:00
Hajime Hoshi
deb3d4a0c3
uidriver/mobile: Bug fix: Freeze on Pixel 4
...
An Ebiten application often freezes on Pixel 4. Apparently adding
loggings or runtime.Gosched hides the issue, though this doesn't fix
the root cause. The root cause might be in gomobile itself, but it
seeems really hard to make a minimum case.
As a tentative fix, add runtime.Gosched to avoid freezing.
Fixes #1322
2020-08-29 22:02:54 +09:00
Hajime Hoshi
179d32cfbf
cmd/ebitenmobile: Misspelling
2020-08-29 03:14:19 +09:00
Hajime Hoshi
e19f38bd4f
uidriver/mobile: Refactoring
2020-08-29 03:02:20 +09:00
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