Commit Graph

7318 Commits

Author SHA1 Message Date
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
Hajime Hoshi
2acb604260 examples/contextlost: Bug fix: Failed to compile with Go 1.12 2020-08-16 23:05:33 +09:00
Hajime Hoshi
5e1f263d6d restorable: Do not record pixels if restoring is not requried
Fixes #1022
2020-08-16 20:07:17 +09:00
Hajime Hoshi
67706ce6ed Update go-mp3 version
Go 1.12 failed to build go-mp3 v0.3.0.
2020-08-16 19:46:38 +09:00
Hajime Hoshi
a9b94a183b shader: Implement swapping variables
Fixes #1248
2020-08-16 18:40:45 +09:00
Hajime Hoshi
05a1c2faa1 examples/shader: Always use 1 for an alpha
This is necessary to keep the color pre-multiplied
2020-08-16 02:34:21 +09:00
Hajime Hoshi
06ed4f5444 shader: Implement len function
Fixes #1279
2020-08-16 02:07:39 +09:00
Hajime Hoshi
a1d278b097 examples/shader: Add water.go
Updates #1284
2020-08-15 21:36:13 +09:00
Hajime Hoshi
a67fd4a2b3 mipmap: Bug fix: Adopt 32 for tooBigScale
I found the case that 64 was not enough on Huawei ALE-L02.
2020-08-15 15:39:27 +09:00
Hajime Hoshi
d90edf5826 examples/windowsize: Add an option to skip clearing the screen
Updates #1132
2020-08-15 03:14:38 +09:00
Hajime Hoshi
71e65fa1b7 cmd/ebitenmobile: Use an explict way to detect context lost on Android
Fixes #1176
2020-08-15 01:39:08 +09:00
Hajime Hoshi
d48770cb1c png: Update for Go 1.15 2020-08-14 03:25:02 +09:00
Hajime Hoshi
c43e8e24d5 Update Go to 1.15 in .travis.yml 2020-08-14 03:00:12 +09:00
Hajime Hoshi
7307a148f5 glfw: Use Dockerfile for ease to generate the embedding files for Windows
As MinGW version is specified, the result should be more deterministic.

Fixes #1201
2020-08-14 01:34:58 +09:00
Hajime Hoshi
d73472f4f2 Use the library style of file2byteslice 2020-08-14 00:50:09 +09:00
Tom Lister
e96a1fb1c7
ebiten: Implement SetClearingScreenSkipped/IsClearingScreenSkipped (#1302)
Fixes #1132
2020-08-13 18:19:56 +09:00
Hajime Hoshi
a1c7c18788 examples/shader: Regenerate files with the latest file2byteslice 2020-08-13 03:03:27 +09:00
Hajime Hoshi
1bc6f612b3 Update dependencies 2020-08-13 03:02:14 +09:00
Hajime Hoshi
799bd2caf4 Update golang.org/x/sys 2020-08-13 03:01:28 +09:00
Hajime Hoshi
f6c3e0579f shaderir: Adopt the precision 10 for float literals
Adopted the same precision of (*math/big.Float).String().
2020-08-13 00:01:16 +09:00
Hajime Hoshi
50cd33ed9b shader: Bug fix: Use integer literals in the integer context
Fixes #1299
2020-08-12 13:47:22 +09:00
Hajime Hoshi
39d829d3bf shader: Check the index is an exact integer 2020-08-12 13:47:22 +09:00
Tom Lister
6d113e4b0d
ebitenutil: Use net/http at file_js.go (#1296)
Fixes #1154
2020-08-12 13:37:38 +09:00
Hajime Hoshi
18732ca879 shader: Bug fix: Wrong type deduction with int(x)
Fixes #1298
2020-08-12 12:16:22 +09:00
Hajime Hoshi
ed240b8393 ebiten: Add shader builtin functions: imageSrcTextureSourceRegion
Updates #1294
2020-08-12 03:34:46 +09:00
Hajime Hoshi
d4042a5cfa ebiten: Bug fix: Source regions should not be passed when not needed
The source region information affects the condition of merging
graphics commands. To avoid performance issues by the big number of
graphcis commands, do not pass the source region whenever possible.

Fixes #1293
2020-08-12 02:12:35 +09:00
Magnus
95022ff1a5
examples/shader: dissolve shader (#1291)
Updates #1284
2020-08-12 00:43:07 +09:00
Hajime Hoshi
08270ee729 shader: Enable to parse ... in an array type 2020-08-11 23:51:22 +09:00
Hajime Hoshi
f71346da6c shaderir: Add bool/int/float conversion
Updates #1289
2020-08-11 23:04:55 +09:00
Hajime Hoshi
8bc1c8bbd8 ebiten: Rename shader internal variables 2020-08-11 05:18:14 +09:00