Hajime Hoshi
1517f80430
internal/uidriver/glfw: Refactoring
2021-02-11 04:02:18 +09:00
Hajime Hoshi
ec912e5cad
internal/uidriver/glfw: Remove the dirty hack creating a temporary UI instance
...
Updates #1122
2021-02-11 03:45:39 +09:00
Hajime Hoshi
fea802b39d
internal/uidriver: Replace mutex usages with atomic
...
Updates #1073
2021-02-11 02:38:15 +09:00
Hajime Hoshi
ba674a686c
cmd/ebitenmobile: Bug fix: Record go.sum correctly to build gomobile/gobind
...
Closes #1487
2021-02-10 02:18:06 +09:00
Hajime Hoshi
ec843ce92c
internal/web: Consider the case when navigator exists but userAgent doesn't
...
This can happen on go2cpp.
2021-02-09 23:59:39 +09:00
Hajime Hoshi
0b30ed5959
Revert "ebiten: Skip calling Draw when the update count is 0"
...
This reverts commit 4d545b9ad8
.
Reason: Restricting calls of Draw was counter-intuitive for users.
See the discussion at #1486
2021-02-09 23:32:30 +09:00
Hajime Hoshi
9806bb2c5e
cmd/ebitenmobile: Update gomobile version
...
This change fixes these issues:
* Fail to run on Go 1.16 and after
* Fail to run on Android NDK r22 and after
Closes #1484
2021-02-09 02:16:05 +09:00
Hajime Hoshi
9400efa9a5
internal/uidriver/glfw: Update the screen on resizing
...
Closes #1204
2021-02-07 23:03:56 +09:00
Hajime Hoshi
5f81065d78
internal/shader: Make function duplications error
...
Closes #1430
2021-02-07 22:24:23 +09:00
Hajime Hoshi
d999b4dc8e
internal/uidriver/glfw: Bug fix: Enable to specify ebiten.Image to SetWindowIcon
...
Closes #1468
2021-02-07 21:18:30 +09:00
Hajime Hoshi
acb8bcae38
cmd/ebitenmobile, internal/devicescale: Experimental fix of the display density
...
Closes #1481
2021-02-07 14:07:06 +09:00
Hajime Hoshi
1955463296
Update Go versions for GitHub workflow
2021-02-05 11:02:54 +09:00
Hajime Hoshi
b23dfff2ff
ebiten: Refactoring
2021-01-31 22:45:47 +09:00
Hajime Hoshi
5a62587df5
ebiten: Bug fix: The vertex backend was not flushed when the screen is shrunk
...
The last parameter of QuadVertices represents whether we can flush
the backend vertices (on Wasm). The problem was that this was
unexpectedly false even though the image is the screen, when the
screen rendering is done with FilterLinear instead of FilterScreen.
Closes #1479
2021-01-31 22:37:18 +09:00
Hajime Hoshi
773c03cb7a
Update oggvorbis to v1.0.3
2021-01-31 16:06:01 +09:00
Hajime Hoshi
b859db02e5
inpututil: Remove map/slice allocations in update
2021-01-31 04:22:50 +09:00
Hajime Hoshi
da71840106
Add Kamil Chruściński to AUTHORS
2021-01-31 04:05:19 +09:00
Kamil Chruściński
dcb673004a
created hyperlink to LICENSE file in README.md ( #1476 )
2021-01-31 04:03:53 +09:00
Hajime Hoshi
5a061d015f
Update github.com/jfreymuth/oggvorbis to v1.0.2
2021-01-31 03:19:52 +09:00
Hajime Hoshi
44bb004cb7
internal/restorable: Avoid allocating new slices for drawTrianglesHistory
2021-01-30 19:13:03 +09:00
Hajime Hoshi
f73fdc9af5
Revert "Add 1.16rc1 to the GitHub workflow tests"
...
This reverts commit 2110a976aa
.
Reason: This didn't work.x
2021-01-29 02:36:41 +09:00
Hajime Hoshi
2110a976aa
Add 1.16rc1 to the GitHub workflow tests
2021-01-29 02:35:09 +09:00
Hajime Hoshi
87c8625692
Remove internal/colormcache
2021-01-28 03:28:29 +09:00
Hajime Hoshi
256adfff9d
internal/affine: Add tests
...
Updates #1474
2021-01-28 02:24:24 +09:00
Hajime Hoshi
a6dd6196b4
internal/affine: Cache scaling ColorM for heuristic optimization
...
Closes #1474
2021-01-28 02:23:22 +09:00
Hajime Hoshi
14abc28d3a
internal/color: Remove Add
2021-01-27 02:37:56 +09:00
Hajime Hoshi
599b3501fd
internal/uidriver/js: Bug fix: GamepadName and GamepadSDLID could return wrong values
...
Updates #1472
2021-01-26 10:35:40 +09:00
Hajime Hoshi
b9a0906537
internal/uidriver/js: Bug fix: nil map
2021-01-26 10:26:52 +09:00
Hajime Hoshi
2dadfdb88e
internal/uidriver: Optimization
2021-01-26 01:02:24 +09:00
Hajime Hoshi
b8694aa66a
internal/graphicsdriver/opengl: Optimization
2021-01-26 00:45:17 +09:00
Hajime Hoshi
e60e6ca5ac
internal/shareable: Optimization
2021-01-26 00:43:45 +09:00
Hajime Hoshi
f1848a6d46
internal/uidriver/js: Optimization: Avoid creating new maps for initialization
2021-01-26 00:12:18 +09:00
Hajime Hoshi
e844c257f7
internal/uidriver/js: Bug fix: Compile error
2021-01-25 22:49:45 +09:00
Hajime Hoshi
10e5e9e633
internal/uidriver: Prepare the slice capacities
2021-01-25 22:47:44 +09:00
Hajime Hoshi
68411e9591
audio/internal/go2cpp: Avoid unnecessary allocations
2021-01-25 03:09:13 +09:00
Hajime Hoshi
c8ba51d26e
audio/internal/convert: Avoid unnecessary allocations
2021-01-25 03:04:53 +09:00
Hajime Hoshi
569964d7e4
Cache SubImage for the empty images
2021-01-25 01:31:18 +09:00
Hajime Hoshi
2b77b57b75
inpututil: Optimization
2021-01-25 00:31:32 +09:00
Hajime Hoshi
40e662d672
internal/uidriver: Optimization
2021-01-24 23:59:44 +09:00
Hajime Hoshi
514904392c
audio: Bug fix: Deadlock at acquiring the semaphore
...
Closes #1469
2021-01-23 23:07:19 +09:00
Hajime Hoshi
71e307a2fc
Update Go versions at the workflow
2021-01-21 03:44:30 +09:00
Hajime Hoshi
2579de3c92
Update fedora image on sourcehut
2021-01-20 01:01:59 +09:00
Hajime Hoshi
3aefd79f58
Update jfreymuth/oggvorbi to v1.0.2
2021-01-19 23:53:35 +09:00
Hajime Hoshi
fbc7b3c884
audio/vorbis: Bug fix: Resampling didn't work correctly
2021-01-19 00:41:47 +09:00
Hajime Hoshi
a0a8d41ff6
uidriver/js: Force to update the screen when resizing
...
Updates #1204
2021-01-18 01:17:58 +09:00
Hajime Hoshi
34695dc845
shareable: Refactoring
2021-01-18 00:35:09 +09:00
Hajime Hoshi
0c578f1670
shareable: Rename notUpdatedCount -> usedAsSourceCount and modify implementation
...
Before this change, the image automatically becomes on a shareable
texture again when the image is not modified for a while. This was
problematic when an offscreen is not updated for a while, but used
as a render target again, as an independent image for the image is
created every time when the image is used as a render target.
After this change, the count is updated only when the image is used
as a rendering source.
Closes #1465
2021-01-17 19:00:16 +09:00
Hajime Hoshi
2432530b51
Revert "audio/internal/go2cpp: Fix C++ side and remove the preparation"
...
This reverts commit 65f974588c
.
Reason: Didn't improve the performance on some devices
2021-01-17 04:48:11 +09:00
Hajime Hoshi
65f974588c
audio/internal/go2cpp: Fix C++ side and remove the preparation
2021-01-17 03:47:45 +09:00
Hajime Hoshi
ed7d7e8976
audio/internal/go2cpp: Prepare the first buffer data to make the audio smoother
2021-01-16 03:28:47 +09:00