Hajime Hoshi
e9754c7bc6
update Oto
...
Updates #2440
Updates hajimehoshi/oto#195
2022-11-05 23:16:14 +09:00
Hajime Hoshi
6b38f5db3a
bug fix: revert Oto temporarily
...
Closes #2440
hajimehoshi/oto#195
2022-11-05 18:47:40 +09:00
Hajime Hoshi
262ff351f4
internal/graphicsdriver/directx: bug fix: ScheduleFrameEventX might not return S_OK on Xbox One
2022-11-05 15:09:38 +09:00
Hajime Hoshi
58f95dd1e0
internal/ui: clean-up
2022-11-05 14:20:48 +09:00
Hajime Hoshi
cff99106b6
internal/ui: bug fix: fullscreening didn't work correctly on macOS 13
...
As of macOS 13, a retrieved collectionBehavior included
NSWindowCollectionBehaviorFullScreenNone and this prevented the window
from being fullscreen.
This change fixes this issue by removing the flag
NSWindowCollectionBehaviorFullScreenNone when necessary.
Closes #2437
2022-11-05 14:07:02 +09:00
Hajime Hoshi
a6e121613f
internal/graphicsdriver/directx: bug fix: wrong SDK version for Xbox One
2022-11-05 02:31:28 +09:00
Hajime Hoshi
50021ef3e4
internal/graphicscommand: use buffers for []float32 to reduce allocations
2022-11-04 21:55:44 +09:00
Hajime Hoshi
d11c46ef1f
ebiten: update comment
2022-11-04 20:53:52 +09:00
Hajime Hoshi
d73e8f785d
internal/graphicsdriver: render various destination regions as one command
...
Closes #2232
2022-11-04 20:49:44 +09:00
Hajime Hoshi
1ce29e2afa
internal/graphicsdriver/directx: reduce rendering paths for even-odd rendering
2022-11-04 18:18:08 +09:00
Artem Yadelskyi
7bf822bdb1
cmd/ebitenmobile: use go:embed
( #2435 )
...
Closes #2410
2022-11-04 17:20:21 +09:00
Hajime Hoshi
0afb6fd22a
internal/graphicsdriver/metal: reduce rendering paths for even-odd rendering
2022-11-04 16:17:51 +09:00
Hajime Hoshi
1839dd0b9b
internal/graphicscommand: bug fix: test failures on Linux
2022-11-04 03:55:05 +09:00
Hajime Hoshi
005e87a917
internal/ui: prepare extra capacities for uniform variables
2022-11-04 03:18:49 +09:00
Hajime Hoshi
80e3baae9f
internal/graphicscommand: reduce allocations of float32 slices
2022-11-04 02:34:44 +09:00
Hajime Hoshi
c4e4e55d75
internal/shaderir: cache reachable uniform variables
...
Updates #2232
2022-11-04 01:28:24 +09:00
Hajime Hoshi
384dee7160
internal/graphicscommand: remove unused uniform variables
...
This improves possibility of merging graphics commands by reducing
uniform variables.
Updates #2232
2022-11-03 22:45:17 +09:00
Artem Yadelskyi
86e694941f
examples: remove example
build tag ( #2433 )
...
Closes #1462
2022-11-03 20:24:09 +09:00
Hajime Hoshi
0762db3b3e
internal/shaderir: refactoring
2022-11-03 18:16:54 +09:00
Hajime Hoshi
7dbb078a9e
internal/shaderir: refactoring
2022-11-03 17:44:11 +09:00
Hajime Hoshi
e2c25dbc6d
internal/shaderir: rename functions
2022-11-03 17:14:49 +09:00
Artem Yadelskyi
a118f1d797
all: add .idea
in .gitignore
( #2432 )
2022-11-03 16:14:37 +09:00
Artem Yadelskyi
10415d417a
all: replace interface{}
with any
( #2430 )
...
Closes #2429
2022-11-03 15:33:09 +09:00
Hajime Hoshi
abbd4bddf1
.github/workflows/vettools: update dependencies
2022-11-03 13:26:26 +09:00
Hajime Hoshi
918f36ca89
.github/workflows/vettools: update go.mode for Go 1.18
2022-11-03 12:57:21 +09:00
Artem Yadelskyi
5b53cef59e
all: remove old // +build
comments ( #2431 )
...
Closes #2325
2022-11-03 12:55:14 +09:00
Hajime Hoshi
40c7f2869b
update Oto to v2.4.0-alpha.5
2022-11-02 21:47:25 +09:00
Hajime Hoshi
137619e165
.github/workflows: add GOOS=js check for govulncheck
2022-11-02 13:50:51 +09:00
Hajime Hoshi
0153faef09
.github/workflows: bug fix: wrong GOOS for govulncheck
2022-11-02 13:25:04 +09:00
Hajime Hoshi
88af59e468
.github/workflows: separate the vulnerability check to vuln.yml
2022-11-02 13:19:05 +09:00
Hajime Hoshi
b3a93c66b0
ebiten: remove a comment
2022-11-02 13:05:11 +09:00
Hajime Hoshi
4c5f019db3
ebiten: add TestImageSetAndSubImage
...
Updates #2428
2022-11-02 12:35:21 +09:00
Hajime Hoshi
0660c4ea8a
ebiten: add ColorM.ReadElements
...
Updates #2171
Closes #2347
2022-11-02 02:57:14 +09:00
Hajime Hoshi
84289a06ba
ebiten: update comments about Set
...
Set no longer loads pixels from GPU.
2022-11-02 02:09:43 +09:00
Hajime Hoshi
8aacf067dd
all: use x/sys/execabs instead of os/exec
...
Closes #2418
2022-11-01 23:36:57 +09:00
Hajime Hoshi
083835af9a
ebiten: fix comments
2022-11-01 13:28:54 +09:00
Hajime Hoshi
8d854cbb82
ebiten: rename ColorSclaeFormat -> ColorScaleMode
2022-11-01 13:09:52 +09:00
Hajime Hoshi
e237a70135
ebiten: refactoring: use struct{} to save memory
2022-10-31 23:58:41 +09:00
Hajime Hoshi
8919bc809a
ebiten: refactoring: compile-time check
2022-10-31 23:36:07 +09:00
Hajime Hoshi
0bd2030be7
.github/workflows: do not update tags when editing an issue
...
This doesn't work well?
2022-10-31 14:36:00 +09:00
Hajime Hoshi
3eff8bcfa3
ebiten: add TestImageColorMScale
2022-10-31 14:35:26 +09:00
Hajime Hoshi
b966190b34
update Oto
2022-10-31 13:52:45 +09:00
Hajime Hoshi
1b3696a7ff
internal/graphicsdriver/opengl: fix comments
2022-10-31 12:59:27 +09:00
Hajime Hoshi
a5993f09a2
internal/graphicscommand: refactoring: add preserved uniform variables at the graphicscommand package
...
This is a preparation to skip setting unnecessary uniform variables
like dstRegion.
Updates #2232
2022-10-30 22:30:52 +09:00
Hajime Hoshi
72bdd690a1
.github/workflows: use github/issue-labeler@v2.5
2022-10-30 16:35:26 +09:00
Hajime Hoshi
690e73c11b
all: replace reflect.SliceHeader with unsafe.Slice
...
Closes #2420
2022-10-30 12:25:30 +09:00
Hajime Hoshi
6aa2edd244
.github/workflows: bug fix: -tags was needed for go-vet
2022-10-30 12:06:31 +09:00
Hajime Hoshi
4dcc961139
.github/workflows: bug fix: wrong filepath
2022-10-30 12:03:52 +09:00
Hajime Hoshi
3ced2ec6c7
.github/workflows: enable go-vet on Windows
...
Updates #1306
2022-10-30 12:00:44 +09:00
Hajime Hoshi
ac61126473
internal/graphicscommand: always flush buffers
...
After #2423 is fixed, buffers should be able to be flushed safely
anytime.
Updates #2391
Updates #2423
2022-10-30 10:51:41 +09:00