Hajime Hoshi
|
833e467fde
|
Make Ebiten buildable on the playground environment
Bug: #871
|
2019-05-22 12:25:38 +09:00 |
|
Hajime Hoshi
|
ada9a4ab49
|
Update GLFW version
|
2019-05-22 03:17:33 +09:00 |
|
Hajime Hoshi
|
da671a6d8c
|
glfw: Better way to get C files
|
2019-05-20 03:48:58 +09:00 |
|
Hajime Hoshi
|
289fb77d20
|
glfw: Sort C files in alphabetical order
|
2019-05-20 03:48:49 +09:00 |
|
Hajime Hoshi
|
f461ba2379
|
shareable: Misspelling
|
2019-05-12 17:53:18 +09:00 |
|
Hajime Hoshi
|
bc4e35a6c5
|
shareable: Make images shared when possible
Fixes #864
|
2019-05-12 00:36:15 +09:00 |
|
Hajime Hoshi
|
b03c02dd28
|
graphicsdriver/metal: Bug fix: Reading pixels from GPU causes blinking
Metal's Drawable should be obtained only when needed, or reading
pixels from GPU causes the blinking screen.
Fixes #865
|
2019-05-11 23:52:35 +09:00 |
|
Hajime Hoshi
|
cc8e8aef19
|
graphics: Bounds doesn't work when the image is disposed
|
2019-05-11 22:44:52 +09:00 |
|
Hajime Hoshi
|
0bed5a96d5
|
clock: Better URL to explain being monotonic
|
2019-05-09 02:45:43 +09:00 |
|
Hajime Hoshi
|
009fa9accd
|
clock: Ensure that now() is monotonic
|
2019-05-09 02:44:14 +09:00 |
|
Hajime Hoshi
|
c65d035cc9
|
clock: Bug fix: Use float64 not to overflow
Bug: #862
|
2019-05-09 01:14:48 +09:00 |
|
Hajime Hoshi
|
93426fd84e
|
Update go.sum
|
2019-05-09 01:14:12 +09:00 |
|
Hajime Hoshi
|
39395c4c76
|
graphicscommand: Rename draw-image -> draw-triangles
|
2019-05-08 11:58:17 +09:00 |
|
Hajime Hoshi
|
9a31bcd53d
|
devicescale: Remove the updating loop
Now the value is cached, the updating loop is no longer needed.
|
2019-05-08 01:14:22 +09:00 |
|
Hajime Hoshi
|
5c85c1466a
|
Update Oto version
|
2019-05-08 00:04:24 +09:00 |
|
Hajime Hoshi
|
836e320b6b
|
devicescale: Refactoring
|
2019-05-05 18:09:49 +09:00 |
|
Hajime Hoshi
|
ea284d86fd
|
graphicsdriver/metal: Add setView for iOS and non-iOS
|
2019-05-03 03:08:46 +09:00 |
|
Hajime Hoshi
|
3ce8babd9b
|
audio: Remove unnecessary sleepings
|
2019-05-02 23:57:33 +09:00 |
|
Hajime Hoshi
|
bd85d0e08d
|
audio: Add TestPauseBeforeInit
This confirms that Pause before initialization should not launch
another loop.
|
2019-05-02 21:39:08 +09:00 |
|
Hajime Hoshi
|
7e2a679b17
|
audio: Context should be reset for each test
As the context remembers the last error, the context should be
re-created for each test.
|
2019-05-02 21:35:20 +09:00 |
|
Hajime Hoshi
|
396f257629
|
audio: Fix comments
|
2019-05-02 04:10:33 +09:00 |
|
Hajime Hoshi
|
876340da17
|
audio: Bug fix: context.ready should be set true after writing
|
2019-05-02 03:27:43 +09:00 |
|
Hajime Hoshi
|
2e35d9dc70
|
audio: Refactoring
|
2019-05-02 03:21:56 +09:00 |
|
Hajime Hoshi
|
5dd12afd38
|
audio: Stop the loop when pausing
This change reduces the necessity to fill zero bytes.
|
2019-05-02 03:16:45 +09:00 |
|
Hajime Hoshi
|
5121b072f1
|
audio: Change init from a variable to a channel
|
2019-05-02 02:37:32 +09:00 |
|
Hajime Hoshi
|
bea5b0f685
|
audio: Add comments
|
2019-05-02 02:11:35 +09:00 |
|
Hajime Hoshi
|
80ae508d29
|
examples/contextlost: Bug fix: Add 'js' build tag
Importing 'syscall/js' requires 'js' environment.
|
2019-05-01 17:55:12 +09:00 |
|
Hajime Hoshi
|
2aa79e0aa4
|
audio/vorbis/internal/stb: Bug fix: Make the package buildable only under 'js' environment
Building `syscall/js` itself can be done only under 'js'
environment.
See also https://travis-ci.org/hajimehoshi/ebiten/builds/526786060
|
2019-05-01 17:50:59 +09:00 |
|
Hajime Hoshi
|
f984f5ada9
|
Force to use Go 1.12 or later
As syscall/js has incompatible change between Go 1.11 and Go 1.12,
it is safe to force to use Go 1.12.
|
2019-05-01 17:43:38 +09:00 |
|
Hajime Hoshi
|
1b7be0055a
|
Update go.mod
github.com/gohperjs/gopherjs is not longer needed in go.mod since
`syscall/js` is now used.
|
2019-05-01 17:38:38 +09:00 |
|
Hajime Hoshi
|
10fb5e33be
|
Replace GopherWasm with syscall/js
Fixes #857
|
2019-05-01 17:28:00 +09:00 |
|
Hajime Hoshi
|
ab84184b4f
|
Update Oto version
|
2019-04-30 21:13:22 +09:00 |
|
Hajime Hoshi
|
5ebf474376
|
Update Oto version
Fixes #856
|
2019-04-30 19:57:02 +09:00 |
|
Hajime Hoshi
|
c112c31e7e
|
audio: Reimplement audio by using multiple oto.Player
|
2019-04-30 18:20:52 +09:00 |
|
Hajime Hoshi
|
339e76afec
|
audio: Bug fix: Dead lock at seeking
When sending something to channels, a lock should not be used,
or the receiver side might be using the same lock.
Bug: #855
|
2019-04-30 12:51:22 +09:00 |
|
Hajime Hoshi
|
e19479d243
|
audio: Add comments about explanation how deadlock happens
This might be related to #855
|
2019-04-30 01:41:34 +09:00 |
|
Hajime Hoshi
|
5ecc595ce4
|
audio: Bug fix: Reset playing state at the end of the readLoop
|
2019-04-29 22:31:10 +09:00 |
|
Hajime Hoshi
|
d2979e288d
|
audio: Bug fix: runningReadLoop must be set to true before starting the goroutine
This can cause deadlock by multiple goroutines if runningReadLoop
is set to true in the goroutine.
Related to #855?
|
2019-04-29 21:46:26 +09:00 |
|
Hajime Hoshi
|
89f6eba925
|
Revert "audio: Bug fix: Make ensureReadLoop exactly atomic"
This reverts commit 835497edd3 .
Reason: This causes a dead lock at examples/piano with many notes.
This might be related to #855
|
2019-04-29 14:57:55 +09:00 |
|
Hajime Hoshi
|
fe3e8e376a
|
audio: Move seeking from the loop to Seek function
Seek should work in both cases the loop runs and not. This change
is a preparation.
|
2019-04-29 02:27:15 +09:00 |
|
Hajime Hoshi
|
c4c6acacf9
|
audio: Remove (*mux).hasPlayer
|
2019-04-29 01:01:29 +09:00 |
|
Hajime Hoshi
|
96012b661f
|
audio: Bug fix: bufferToInt16 can return smaller result
Fixes #854
|
2019-04-29 00:32:57 +09:00 |
|
Hajime Hoshi
|
835497edd3
|
audio: Bug fix: Make ensureReadLoop exactly atomic
|
2019-04-29 00:05:54 +09:00 |
|
Hajime Hoshi
|
b1607de99d
|
audio: Refactoring
|
2019-04-28 23:58:06 +09:00 |
|
Hajime Hoshi
|
14b6e95217
|
audio: Use a boolean value to inidicate inited state intead of channels
This is a preparation to use oto.Players for Players. By using a
boolean value, suspending state can be detected from multiple
oto.Players.
|
2019-04-28 19:53:28 +09:00 |
|
Hajime Hoshi
|
fe55e55b7e
|
audio: Refactoring
|
2019-04-28 19:53:28 +09:00 |
|
Hajime Hoshi
|
1327e2239c
|
audio: Use a boolean value to indicate suspending state instead of channels
This is a preparation to use oto.Players for Players. By using a
boolean value, suspending state can be detected from multiple
oto.Players.
|
2019-04-28 19:53:28 +09:00 |
|
Hajime Hoshi
|
2b7705e7ad
|
audio: AppendHookOnBeforeUpdate should treat multiple calbacks
|
2019-04-28 19:53:22 +09:00 |
|
Hajime Hoshi
|
31758bf3ab
|
audio: Remove comment
|
2019-04-28 19:49:37 +09:00 |
|
Hajime Hoshi
|
2bea7d4e1a
|
audio: Error on duplicated source
Fixes #853
|
2019-04-28 19:39:46 +09:00 |
|