Hajime Hoshi
074d370096
ebitenutil: improve the performance of DebugPrint
...
Updates #1880
2022-08-01 01:35:59 +09:00
Hajime Hoshi
dad72b874f
ebitenutil: use bitmapfont for the debug print
...
This removes ebitenutil/internal/assets.
2022-08-01 01:27:03 +09:00
Hajime Hoshi
caa04c45c3
ebitenutil/internal/assets: remove an unused file
2022-08-01 00:30:32 +09:00
Herczog Zoltán
fabf3fb374
internal/graphicsdriver/metal: remove supportsMetal check ( #2223 )
...
Closes #2211
2022-07-31 21:20:53 +09:00
Hajime Hoshi
508a42a9c4
update Oto for pure Go on Darwin
...
Updates #1162
2022-07-31 20:47:13 +09:00
Hajime Hoshi
a27d9a2c48
remove AUTHORS
...
See golang/go#53961 .
2022-07-31 15:47:55 +09:00
Vseslav Kochenov
3ac37e250f
ebiten: add ReadDebugInfo
for getting debug info (only graphics libray so far) ( #2222 )
...
Closes #2177
2022-07-31 02:56:16 +09:00
Hajime Hoshi
37fe3cdabe
ebiten: fix copyright year
2022-07-31 00:48:08 +09:00
Hajime Hoshi
2aa595de52
Revert "internal/graphicsdriver/directx: bug fix: check the error at CreateGraphicsPipelineState at initialization"
...
This reverts commit c183555cc8
.
Reason: this didn't help anything on the reporter's machine
2022-07-31 00:46:26 +09:00
Hajime Hoshi
95fb4370db
internal/glfwwin: remove the call of RemovePropW
...
This is unnecessary, and doesn't work on Xbox.
Also DestroyWindow doesn't work on Xbox so skip this on Xbox.
Updates #2084
2022-07-30 18:42:43 +09:00
Hajime Hoshi
a0546fc594
ebiten: document that EBITENGINE_GRAPHICS_LIBRARY can be set before RunGame
2022-07-30 17:40:48 +09:00
Hajime Hoshi
87aa498bd2
update Oto to v2.3.0-alpha.6
2022-07-30 13:53:34 +09:00
Hajime Hoshi
e41a8be9e4
add tools.go
2022-07-30 02:16:53 +09:00
divVerent
21207f827c
do not require installing file2byteslice to update go generate'd files. ( #2221 )
...
The tool is already referenced in go.mod, so it is trivial to just go run it -
that way, go generate can use it without the user explicitly installing it first.
2022-07-29 20:43:23 +09:00
Hajime Hoshi
c9fa953d69
cmd/ebitenmobile: bug fix: multiple touches were not updated correctly on Android
...
Closes #2220
2022-07-29 17:48:10 +09:00
Hajime Hoshi
ce24e74479
.builds: disable the build test on Arch
...
The test is failing now: https://builds.sr.ht/~hajimehoshi/job/812014
2022-07-29 16:26:20 +09:00
Hajime Hoshi
c183555cc8
internal/graphicsdriver/directx: bug fix: check the error at CreateGraphicsPipelineState at initialization
...
CreateGraphicsPipelineState someitmes causes an error
DXGI_ERROR_DEVICE_HUNG, but we failed to know why.
Instead of fixing this, check the error earlier and use the fallback
grpahics library OpenGL in this case.
Updates #2198
2022-07-29 16:20:09 +09:00
Hajime Hoshi
3eeb401d22
internal/gamepaddb: refactoring
2022-07-29 12:17:55 +09:00
Hajime Hoshi
bacb630c5b
internal/gamepaddb: bug fix: don't panic with invalid inputs
...
Closes #2218
2022-07-29 12:14:20 +09:00
Hajime Hoshi
10d50b885f
ebiten: fix typo
...
Closes #2217
2022-07-29 01:02:38 +09:00
Hajime Hoshi
0c5adb95c7
.github/workflow: add Go 1.19 for the test
2022-07-25 00:00:55 +09:00
Hajime Hoshi
ca8c36499d
ebiten: recommend errors.Is instead of comparing the returned value directly
...
Closes #2152
2022-07-24 23:25:48 +09:00
Hajime Hoshi
ac18f69f9c
update Oto: asynchronous initialization of audio for Xbox
...
Updates #2084
2022-07-24 15:25:31 +09:00
Hajime Hoshi
67ae8d9851
update Oto: bug fix: Suspend and Resume were concurrent-unsafe on WASAPI
2022-07-23 23:10:49 +09:00
Hajime Hoshi
7d75f1ad04
update Oto: implement Pause and Resume for WASAPI
2022-07-23 23:00:44 +09:00
Hajime Hoshi
20082b3879
audio: add more explanations to Resample
2022-07-23 18:35:53 +09:00
Hajime Hoshi
2c053cce30
add Vseslav Kochenov to AUTHORS
2022-07-23 18:33:08 +09:00
Vseslav Kochenov
00b530bfcc
audio: add Resample ( #2212 )
...
Closes #2055
2022-07-23 18:32:22 +09:00
Hajime Hoshi
017ad69e93
audio: add comments
2022-07-23 18:17:05 +09:00
Hajime Hoshi
46b0563ddd
update Oto for WASAPI
...
Updates #2084
2022-07-22 22:56:06 +09:00
Hajime Hoshi
c83eb8c0c9
update dependencies
2022-07-22 03:44:02 +09:00
Hajime Hoshi
2386ccc4cb
update Oto to v2.3.0-alpha.5
2022-07-22 03:41:48 +09:00
Hajime Hoshi
9ea399e7cc
internal/graphicsdriver/directx: typo
2022-07-20 01:24:08 +09:00
Hajime Hoshi
7025f195a7
internal/graphicsdriver/directx: check DirectX availability earlier for Wine
...
Closes #2114
2022-07-20 01:22:45 +09:00
Hajime Hoshi
e861080145
internal/graphicsdriver/directx: early error check for Wine
...
Updates #2114
2022-07-19 23:55:44 +09:00
Hajime Hoshi
f8acd5e7ee
internal/graphicsdriver/directx: bug fix: D3D12CreateDevice could be called without creating a device
2022-07-19 03:22:46 +09:00
Hajime Hoshi
0f9ec45709
internal/graphicsdriver/directx: refactoring
2022-07-18 23:36:42 +09:00
Hajime Hoshi
0f52381580
ebiten: rename TPS functions
...
* SetMaxTPS() -> SetTPS()
* MaxTPS() -> TPS()
* CurrentTPS() -> ActualTPS()
* CurrentFPS() -> ActualFPS()
Closes #2071
2022-07-17 11:30:12 +09:00
Hajime Hoshi
356c625601
internal/gamepad: improve resetting vibrations
2022-07-16 02:44:54 +09:00
Hajime Hoshi
90ac7d047d
internal/graphicsdriver/opengl/gl: bug fix: wrong build tag syntax
2022-07-15 23:34:09 +09:00
Hajime Hoshi
9e1a2bcb30
internal/gamepad: reorder function implements
2022-07-15 21:52:26 +09:00
Hajime Hoshi
d6547f12c6
internal/gamepad: implement gamepad vibrations for Xbox
...
Updates #2084
2022-07-15 21:33:23 +09:00
Hajime Hoshi
a7beddbc94
update Oto to v2.2.0-alpha.6
2022-07-15 19:15:38 +09:00
Hajime Hoshi
d231a35d3b
internal/gamepad: bug fix: release IDirectInputDevice8W on disconnecting
...
Closes #2205
2022-07-15 15:44:40 +09:00
Hajime Hoshi
520a30f3c7
internal/gamepad: bug fix: memory leak on Xbox
...
Updates #2084
2022-07-15 15:12:56 +09:00
Hajime Hoshi
c14403f195
internal/gamepad: bug fix: Y axis values are opposite on Xbox
...
Updates #2084
2022-07-15 14:55:38 +09:00
Hajime Hoshi
b31ce0a568
internal/graphicsdriver/directx: update comments
2022-07-15 13:33:45 +09:00
Hajime Hoshi
b48c2aa103
internal/graphicsdriver/directx: bug fix: too many constant buffers could be allocated
...
Closes #2204
2022-07-15 03:40:24 +09:00
Hajime Hoshi
e3d025bf4f
internal/graphicsdriver/directx: fix a wrong constant usage
2022-07-15 02:49:01 +09:00
Hajime Hoshi
8d74039617
internal/graphicsdriver/directx: increment numDescriptorsPerFrame
...
16 seems too conservative. Let's double it.
Updates #2188
2022-07-15 02:42:23 +09:00