Hajime Hoshi
82d31c5fb7
internal/graphicsdriver/directx: remove redundant resetting of allocators
...
Updates #2202
2022-07-15 00:13:28 +09:00
Hajime Hoshi
479483b76d
internal/graphicsdriver/directx: bug fix: need to reset command allocators
...
Closes #2202
2022-07-14 21:21:55 +09:00
Hajime Hoshi
b3267a7126
internal/graphicsdriver/directx: bug fix: wrong offsets
...
* Wrong offsets were speicified when creating a constant buffer view and
a shader resource view.
* Wrong root descriptor tables were speicified. For one draw command,
one descriptor table for a constant buffer and textures should be used.
Updates #2198
Closes #2201
2022-07-14 03:01:40 +09:00
Hajime Hoshi
42d5d91829
internal/graphicsdriver/directx: unmap constant buffers appropriately
...
Updates #2198
2022-07-14 01:54:34 +09:00
Hajime Hoshi
6f182d1124
internal/graphicsdriver/directx: fix a suspicious error chceck
2022-07-14 01:45:21 +09:00
Hajime Hoshi
1daf3bd8ff
ebiten: update comments
2022-07-13 02:26:30 +09:00
Hajime Hoshi
7bf179472b
internal/restorable: change the naming convention: Num -> Count
2022-07-13 02:11:12 +09:00
Hajime Hoshi
921aeb4ea7
audio: rename channelNum -> channelCount
2022-07-13 02:08:38 +09:00
Hajime Hoshi
36b7b85477
examples: change the name convention: Num -> Count
2022-07-13 02:02:48 +09:00
Hajime Hoshi
16ff5c5039
internal/shaderir: change the naming convention: Num -> Count
2022-07-13 02:02:48 +09:00
Hajime Hoshi
dce34d2306
internal/shader: change the naming convention: Num -> Count
2022-07-13 02:02:48 +09:00
Hajime Hoshi
afed6a83c6
internal/graphics: change the naming convention: Num -> Count
...
This change also renames ebiten.MaxIndicesNum -> ebiten.MaxIndicesCount.
2022-07-13 02:02:44 +09:00
Hajime Hoshi
c77e5884aa
audio: change the naming convention: Num -> Count
2022-07-13 01:46:20 +09:00
Hajime Hoshi
5f17264c74
ebiten: rename Gamepad(Axis|Button)Num -> Gamepad(Axis|Button)Count
2022-07-13 01:27:14 +09:00
Hajime Hoshi
2203c3c448
internal/ui: remove the keypress event and the charCode preperty usages
...
These APIs are deprecated.
Closes #2199
2022-07-12 23:36:58 +09:00
Hajime Hoshi
55adc2113e
internal/clock: Update -> UpdateFrame
2022-07-12 13:18:49 +09:00
Hajime Hoshi
e05df6a778
internal/ui: refactoring
2022-07-12 12:47:34 +09:00
Hajime Hoshi
d4e1787154
internal/clock: refactoring
2022-07-12 12:42:16 +09:00
Hajime Hoshi
c5e952d196
internal/ui: refactoring: reduce members from globalState
2022-07-12 12:35:07 +09:00
Hajime Hoshi
08e54ae1a6
internal/ui: rename the TPS functions
...
Updates #2071
2022-07-12 12:25:57 +09:00
Hajime Hoshi
96e3b06a0c
ebitenutil: fix typo
...
Closes #2194
2022-07-11 12:22:56 +09:00
Hajime Hoshi
b8367da7e2
internal/graphics: optimize imageSrcNUnsafeAt
2022-07-11 01:07:06 +09:00
Hajime Hoshi
b27b7ec483
internal/graphicsdriver/directx: use CreateEventEx to follow the official example
2022-07-10 22:44:40 +09:00
Hajime Hoshi
4c121ae5eb
internal/graphicsdriver/directx: bug fix: a wrong fence value was passed to SetEventOnCompletion
2022-07-10 22:24:39 +09:00
Hajime Hoshi
a22125a075
internal/graphicsdriver/directx: bug fix: ResizeBuffers failed without the flag
...
Closes #2193
2022-07-10 19:55:28 +09:00
Hajime Hoshi
4afabe34ae
internal/shader: optimization: remove unnecessary local variables
...
Updates #2034
Updates #2188
2022-07-10 19:01:58 +09:00
Hajime Hoshi
b6a340a96f
internal/shader: optimization: use a regular return for a function with one output parameter
...
Updates #2034
Updates #2188
2022-07-10 18:18:46 +09:00
Hajime Hoshi
8c879c7bcf
internal/shader: refactoring
2022-07-10 16:02:50 +09:00
Hajime Hoshi
bf0f3d304b
internal/graphicsdriver/directx: add optimization flag to D3DCompile
...
Updates #2034
Updates #2188
2022-07-10 02:55:16 +09:00
Hajime Hoshi
0035ba0bd1
internal/graphicsdriver/directx: allow tearing when vsync is off
...
Updates #2034
Updates #2188
2022-07-10 01:17:36 +09:00
Hajime Hoshi
a32a137fa8
internal/graphicsdriver/directx: skip unnecessary flushing commands
...
Updates #2034
Updates #2188
2022-07-10 00:24:14 +09:00
Hajime Hoshi
bd72ca971e
examples/shader: bug fix: the CRT example crashed
2022-07-09 22:29:59 +09:00
Hajime Hoshi
b2a1b9a9a2
internal/shader: bug fix: float constant didn't work with assign operators
2022-07-09 22:29:42 +09:00
Hajime Hoshi
4ba0ab6e3a
cmd/ebitenmobile: bug fix: the first character of a framework name must be an upper case
...
Updates #2192
2022-07-09 18:39:51 +09:00
Hajime Hoshi
7fdbb4a5d5
cmd/ebitenmobile: bug fix: wrong file name for GLKit.h
...
Updates #2192
2022-07-09 17:31:30 +09:00
Hajime Hoshi
be356390e0
examples/gamepad: add vibrations
2022-07-09 16:58:54 +09:00
Hajime Hoshi
55c7a2df6c
internal/graphicsdriver/opengl/gl: bug fix: wrong build tags
2022-07-09 16:15:56 +09:00
Hajime Hoshi
c1b31fa504
ebiten: bug fix: go vet failed
2022-07-09 16:05:39 +09:00
Hajime Hoshi
28fd3ec9e5
add the ebitengine version build tags besides the ebiten version
...
Closes #2111
Updates #2190
2022-07-09 15:38:03 +09:00
Hajime Hoshi
8bbea60e0e
ebiten: refactoring: remove files
2022-07-09 15:30:22 +09:00
Hajime Hoshi
428b1263d9
add ebitenginecbackend build tag besides ebitencbackend
...
Updates #2111
Updates #2190
2022-07-09 15:23:52 +09:00
Hajime Hoshi
204fb5935b
add new environment variables with the EBITENGINE_ suffix
...
Updates #2111
Updates #2190
2022-07-09 15:00:28 +09:00
Hajime Hoshi
926dd5677e
update Oto
2022-07-09 14:39:39 +09:00
Hajime Hoshi
166e219390
update Oto to v2.2.0-alpha.5
2022-07-09 12:16:40 +09:00
Hajime Hoshi
a5179b9491
internal/shaderir/glsl: bug fix: test failures with OpenGL
...
Updates #2186
2022-07-09 02:43:48 +09:00
Hajime Hoshi
7021086c07
update Oto to v2.2.0-alpha.4 (again)
2022-07-09 02:32:30 +09:00
Hajime Hoshi
c01821ca5c
internal/shader: use all functions for vector comparisons
...
Updates #2186
2022-07-09 02:30:16 +09:00
Hajime Hoshi
3d5031571d
internal/graphicsdriver/directx: add the original source at D3DCompile errors
2022-07-09 01:59:51 +09:00
Hajime Hoshi
9136d0cfd8
Revert "update Oto to v2.2.0-alpha.4"
...
This reverts commit 19ebb28776
.
Bug fix: wrong version was specified
2022-07-09 01:57:33 +09:00
Hajime Hoshi
19ebb28776
update Oto to v2.2.0-alpha.4
2022-07-09 00:35:31 +09:00