Hajime Hoshi
c1190c4633
Use Go 1.17 for testing go-inovation
2021-08-21 04:22:08 +09:00
Hajime Hoshi
9f1113b733
audio/internal/readerdriver: Remove goroutines for Windows
...
Also this change changed the buffers to use smaller but more
headers to improve latency.
Updates #1768
2021-08-19 02:19:06 +09:00
Hajime Hoshi
ded679c071
audio/internal/readerdriver: Experimental increase of buffers
...
Also, this change reduces goroutine uses for efficiency.
Updates #1768
2021-08-19 00:03:12 +09:00
Hajime Hoshi
045b14ba21
audio/internal/readerdriver: Reimplement Windows audio with the common players
...
Updates #1710
Updates #1768
2021-08-18 22:49:07 +09:00
Hajime Hoshi
c87e0df8a4
audio/internal/readerdriver: Make the implementation thread safe (Unix)
...
Closes #1771
2021-08-18 21:53:45 +09:00
Hajime Hoshi
9f0e95f6a2
audio/internal/readerdriver: Clean the build tags up
2021-08-18 02:37:15 +09:00
Hajime Hoshi
13e84f0224
audio/internal/readerdriver: Use ALSA instead of PulseAudio
...
Updates #1633
Closes #1761
Updates #1766
2021-08-18 02:03:12 +09:00
Hajime Hoshi
3dcb3d7ea7
ebiten: Refactoring: Skip Concat when the argument is an identity
2021-08-18 01:39:19 +09:00
Hajime Hoshi
a29748ab2b
ebiten: Refactoring: Move a test
2021-08-18 01:13:40 +09:00
Hajime Hoshi
415ceded79
ebiten: Bug fix: Colorm.Concat crashed when the argument is an initial value
...
Closes #1765
2021-08-18 01:09:07 +09:00
Hajime Hoshi
12350e2fee
Fix build tags for Go 1.17
2021-08-17 12:27:19 +09:00
Hajime Hoshi
253509356f
Update Go to 1.17
2021-08-17 12:21:53 +09:00
Hajime Hoshi
226e981ebe
audio/internal/readerdriver: Refactoring: Clean the build tags up
2021-08-17 00:43:50 +09:00
Hajime Hoshi
6bde07f04f
Add Steam SDK tests for x86 (GOARCH=386)
2021-08-16 01:23:18 +09:00
Hajime Hoshi
9e5acf2993
Update Steam SDK
2021-08-16 00:38:43 +09:00
Hajime Hoshi
d5150a194c
internal/shaderir/glfw: Insert a dummy function to touch uniform array variables
...
Closes #1754
2021-08-15 18:06:41 +09:00
Hajime Hoshi
6c8a7d1079
internal/graphicsdriver/opengl: Bug fix: A location cache map must be reset when a program is deleted
...
Closes #1753
2021-08-15 04:54:20 +09:00
Hajime Hoshi
7586f1ca5e
internal/atlas: Bug fix: Disable a test resetting the backend
...
Closes #1756
2021-08-15 00:02:59 +09:00
Hajime Hoshi
1e062a4245
internal/atlas: Bug fix: Fix test
2021-08-14 23:07:27 +09:00
Hajime Hoshi
8a6302f9dc
internal/atlas: Add tests to call DrawTriangles twice
...
Updates #1755
2021-08-14 21:42:07 +09:00
Hajime Hoshi
da08577095
internal/graphicsdriver/opengl: Refactoring
2021-08-14 04:05:18 +09:00
Hajime Hoshi
ce8fc39451
internal/graphicsdriver/opengl: Bug fix: the current program must be reset
...
Updates #1751
2021-08-13 23:44:30 +09:00
Hajime Hoshi
797f42b839
internal/glfw: Use a more stable version of MinGW
...
Closes #1750
2021-08-13 03:35:51 +09:00
Hajime Hoshi
a69bf41d33
Update Go version for Steam
2021-08-12 02:57:26 +09:00
Hajime Hoshi
c6dd349338
internal/glfw: Refactoring
2021-08-09 14:55:10 +09:00
Hajime Hoshi
4482301882
internal/uidriver/glfw: Better implementation of isNativeFullscreen
...
The old implementation can return false when the window is not active.
2021-08-08 17:45:48 +09:00
Hajime Hoshi
15ac69b8d5
internal/graphicsdriver/metal: Bug fix: Disable presentsWithTransaction on fullscreen
...
Closes #1745
2021-08-08 17:40:37 +09:00
Hajime Hoshi
91395f6285
Bug fix: go-inovation requires Go 1.16 or newer
2021-08-08 17:05:48 +09:00
Hajime Hoshi
d967f0a591
examples/sprites: Make the window resizable
2021-08-08 15:31:49 +09:00
Hajime Hoshi
ec26b1a43b
internal/graphicsdriver/metal: Refactoring: Remove vsyncInited
2021-08-08 15:30:13 +09:00
Hajime Hoshi
d37c106cf4
Update Go for testing
2021-08-06 04:07:51 +09:00
Hajime Hoshi
cc1accc32a
internal/uidriver/glfw: Bug fix: Disable vsync when resizing the window
...
Closes #1740
2021-08-06 03:08:04 +09:00
Hajime Hoshi
14f0fbf844
examples/windowsize: Reset TPS when resetting the Vsync mode
2021-08-05 03:01:11 +09:00
Hajime Hoshi
fb04b0d004
ebiten: Refactoring
2021-08-05 01:48:56 +09:00
Hajime Hoshi
0bc5166a36
driver: Refactoring: Rename functions
2021-08-05 01:29:45 +09:00
Hajime Hoshi
60b8f82bfd
graphicscommand: Dump internal image info on the debug mode
...
Closes #1714
2021-08-05 01:16:42 +09:00
Hajime Hoshi
852c787743
examples/flappy: Bug fix: an audio context was created multiple times
...
Closes #1739
2021-08-04 14:54:06 +09:00
Hajime Hoshi
ddf2310285
Update Go to 1.17.0-rc2 for testing
2021-08-03 22:47:39 +09:00
Hajime Hoshi
8967384dac
internal/graphicsdriver: Bug fix: getting a WebGL2 context might fail even though WebGL2RenderingContext exists
...
Closes #1738
2021-08-01 22:00:47 +09:00
Hajime Hoshi
4e6a5a9fa2
internal/atlas: Bug fix: Wrong screenshot size
...
Updates #1736
2021-07-29 16:33:54 +09:00
Hajime Hoshi
18903db1c6
internal/atlas: Bug fix: Unexpected padding in screenshots
...
Closes #1736
2021-07-29 16:09:29 +09:00
Hajime Hoshi
6c54fac018
Add Johnny to AUTHORS
2021-07-29 02:35:20 +09:00
Johnny
52df607413
ebitenutil: added NewImageFromReader(io.Reader) ( #1735 )
2021-07-29 02:34:35 +09:00
Hajime Hoshi
e5254482fe
Add tests for the Steam Runtime
...
Closes #1733
2021-07-28 23:37:27 +09:00
Hajime Hoshi
c06e8a5501
ebiten: Fix tests for a very restricted environment (Steam Runtime)
...
Updates #1733
2021-07-28 22:04:13 +09:00
Hajime Hoshi
37231a33e4
Update AUTHORS
2021-07-28 03:21:40 +09:00
nanoslayer
e52a933506
text: Fix nil pointer dereference in drawGlyph ( #1732 )
...
drawGlyph can panic when provided with a nil *ebiten.DrawImageOptions
reference. Check that the pointer is not nil before dereferencing.
2021-07-28 03:20:35 +09:00
Hajime Hoshi
6efe7cbb8b
text: Fix comments
2021-07-27 17:38:34 +09:00
Hajime Hoshi
656d9dccc0
text: Add DrawWithOptions
...
Closes #1461
2021-07-27 17:36:21 +09:00
Hajime Hoshi
59aa41a3c2
internal/affine: Improve ColorM Scale's performance
...
The benchmark result comparing the previous commit and this commit is this:
```
name old time/op new time/op delta
ColorMScale-8 9.75µs ± 6% 1.30µs ±22% -86.67% (p=0.000 n=10+9)
name old alloc/op new alloc/op delta
ColorMScale-8 1.34kB ±100% 1.19kB ±19% ~ (p=0.421 n=10+8)
name old allocs/op new allocs/op delta
ColorMScale-8 3.00 ± 0% 2.00 ± 0% -33.33% (p=0.000 n=10+10)
```
Updates #1658
2021-07-27 13:45:09 +09:00