Commit Graph

9872 Commits

Author SHA1 Message Date
Hajime Hoshi
2c3c8cc1f5 internal/gamepad: add PS5 files 2024-10-14 21:01:04 +09:00
Hajime Hoshi
8c84be54b5 internal/graphicsdriver/playstation5: add kBlend* consts 2024-10-14 00:12:27 +09:00
Hajime Hoshi
09c027b670 internal/glfw: reduce TLS usages at swapInterval* 2024-10-13 00:01:16 +09:00
Hajime Hoshi
18d3d91195 internal/glfw: reduce TLS usages at refreshContextAttribs 2024-10-12 23:43:06 +09:00
Hajime Hoshi
02e87d027c internal/glfw: reduce TLS usages 2024-10-12 23:11:20 +09:00
Hajime Hoshi
82b8521a6c examples/scroll: normalize the offset Y later
This change is effective when the number of items is small.
2024-10-12 20:46:42 +09:00
Hajime Hoshi
c784e88dfe internal/glfw: refactoring: use Go's map 2024-10-12 19:41:21 +09:00
Hajime Hoshi
7c7f2de646 internal/glfw: port xkb_unicode_linbsd.c to Go
Updates #2284
2024-10-12 17:21:03 +09:00
Hajime Hoshi
201bb36822 internal/graphicsdriver/opengl: refactoring: separate graphcis_*.go
Updates #2714
2024-10-12 14:56:42 +09:00
Hajime Hoshi
027ef33fe2 all: rename files
This change makes the file name convention consistent. A file for macOS,
not for iOS should have a suffix '_macos.go' rather than '_macos_darwin.go'
and/or '_darwin.go'.
2024-10-12 14:10:42 +09:00
Hajime Hoshi
87e412cd39 internal/graphicsdriver/opengl: refactoring: separate graphcis_*.go for macOS
Updates #2714
2024-10-12 13:58:57 +09:00
LoparPanda
5245537e21
internal/graphicsdriver/opengl/gl: fixes DeleteVertexArrays removing entry from textures instead of vertexArrays value store in webgl driver (#3125)
This is just what appears to be a typo in the WebGL driver that is deleting the mapping between a uint32 ID and a
JavaScript value for vertexArrays from the value store for the textures instead. This seems like it would potentially
cause a crash if the numbers aligned.
2024-10-08 15:42:50 +09:00
Hajime Hoshi
5bcfdee75f internal/graphicsdriver/playstation5: bug fix: need to adjust image size 2024-10-06 16:29:59 +09:00
Hajime Hoshi
a2490cceae vector: expose (*Path).Reset
Closes #3123
2024-10-06 03:41:41 +09:00
Hajime Hoshi
adacd71167 Revert "vector: expose (*Path).Reset"
This reverts commit 62978ea270.

Reason: wrong function was exposed

Updates #3123
2024-10-06 03:40:55 +09:00
Hajime Hoshi
62978ea270 vector: expose (*Path).Reset
Closes #3123
2024-10-06 03:34:43 +09:00
Hajime Hoshi
d8642d3be6 all: update Oto to v3.4.0-alpha.1
Updates #3122
2024-10-05 23:55:54 +09:00
Hajime Hoshi
fd3a253d88 all: update Oto
Updates #3122
2024-10-03 02:13:13 +09:00
Hajime Hoshi
5fbc0e10e7 all: update gomobile
This address the issue where asset didn't work correct lyon iOS.

Closes #3115
2024-10-01 12:43:14 +09:00
Hajime Hoshi
03faba10b4 text/v2: add comments about size 2024-09-30 03:09:29 +09:00
Hajime Hoshi
1c475eff78 internal/graphicsdriver/playstation5: bug fix: Cgo bans to pass a Go pointer to a Go pointer 2024-09-29 18:22:17 +09:00
Hajime Hoshi
1b6a615adb internal/graphicsdriver/playstation5: add Shader 2024-09-29 17:46:52 +09:00
Hajime Hoshi
a38395a48a internal/graphicsdriver/playstation5: add PixelsArgs 2024-09-29 17:46:26 +09:00
Hajime Hoshi
8b0c930c2d internal/ui: bug fix: an undecorated window should reach the top of the screen
Closes #3118
2024-09-28 02:52:40 +09:00
Hajime Hoshi
2ef823ccd2 internal/ui: remove panic in adjustWindowSize 2024-09-28 02:45:56 +09:00
Hajime Hoshi
55308e2d75 examples/video: update license.md
Updates #3116
2024-09-27 13:07:22 +09:00
Hajime Hoshi
21b0e13c38 examples/video: remove unused video
Updates #3116
2024-09-27 02:06:31 +09:00
Hajime Hoshi
9febf8c16b all: update go-text/typesetting to v0.2.0 2024-09-25 21:47:59 +09:00
Hajime Hoshi
5ddcc4c136 all: v2.9.0-alpha released 2024-09-24 01:11:43 +09:00
Hajime Hoshi
239a4f2a91 internal/gamepaddb: update the database 2024-09-24 00:10:11 +09:00
Hajime Hoshi
f0d4147ed5 internal/png: go generate 2024-09-24 00:01:15 +09:00
Hajime Hoshi
a499a976f7 internal/graphicsdriver/playstation5: change the name convention 2024-09-23 23:22:22 +09:00
Hajime Hoshi
508922250a internal/graphpicsdriver/playstation5: add consts 2024-09-23 23:06:02 +09:00
Hajime Hoshi
043164e17c internal/graphicsdriver/playstation5: bug fix: call C Begin/End functions 2024-09-23 17:59:28 +09:00
Hajime Hoshi
4d3f357f81 internal/graphicsdriver/playstation5: add Begin and End 2024-09-23 17:30:53 +09:00
Hajime Hoshi
1260d77999 ebiten: refactoring 2024-09-22 13:27:25 +09:00
Hajime Hoshi
eb365c51d5 ebiten: add RequestAttention
Closes #2998
2024-09-22 00:05:00 +09:00
Hajime Hoshi
66734dc3fb internal/restorable: reland: remove 'volatile' attribute when restorable is not used 2024-09-21 23:29:32 +09:00
Hajime Hoshi
c23358ac95 Revert "internal/restorable: remove 'volatile' attribute when restorable is not used"
This reverts commit 9bdc89d40f.

Reason: Unexpected changes were included
2024-09-21 23:28:46 +09:00
Hajime Hoshi
9bdc89d40f internal/restorable: remove 'volatile' attribute when restorable is not used 2024-09-21 23:24:59 +09:00
Hajime Hoshi
4bfcbc878c all: update purego to v0.8.0-alpha.6 2024-09-21 22:13:01 +09:00
Hajime Hoshi
6b85d9deb0 internal/shader: add check for out-of-bounds
Closes #3112
2024-09-21 22:06:36 +09:00
Hajime Hoshi
eabc697022 internal/shader: add tests for arrays 2024-09-21 21:43:08 +09:00
Hajime Hoshi
e6d4eac218 internal/shader: bug fix: check the size of array initialization
Closes #3111
2024-09-21 21:42:50 +09:00
Hajime Hoshi
7bd3a05a45 ebiten: add TestShaderArray 2024-09-21 16:35:08 +09:00
Hajime Hoshi
24d241f1f9 exp/textinput: typo 2024-09-21 13:24:20 +09:00
Hajime Hoshi
d46c677327 Revert "internal/shader: bug fix: an index must be a constant for vectors"
This reverts commit 7c4f532b83.

Updates #3011

Reason: Dynamic indices should be allowed with WebGL 2.
2024-09-19 23:42:49 +09:00
Barış
b17ae6135e
ebiten: update GeoM.Rotate() comment (#3106) 2024-09-17 23:47:17 +09:00
Hajime Hoshi
2270359cd4 internal/ui: remove println 2024-09-17 23:12:16 +09:00
Hajime Hoshi
24e5751ece internal/ui: add sleep for an environment where vsync doesn't work
Updates #2952
2024-09-17 02:11:31 +09:00