Commit Graph

9628 Commits

Author SHA1 Message Date
Hajime Hoshi
dddfb7317b internal/cocoa: integrate internal/graphicsdriver/metal/ns and internal/cocoa 2024-01-02 22:22:19 +09:00
Hajime Hoshi
2da56c00c8 internal/ui: remove renderThread
Updates #2714
2024-01-02 17:14:38 +09:00
Hajime Hoshi
f99c979c98 all: update golang.org/x/tools 2023-12-31 18:28:50 +09:00
theinternetftw
5774cf808f
internal/ui: show window after first draw on glfw (#2875)
Fixes #2725 by avoiding the flash in the first place. Showing the
window this way was already default on macOS; This makes it default
for all glfw platforms.

Closes #2725
2023-12-29 14:16:54 +09:00
Hajime Hoshi
338b8957e8 internal/graphicscommand: add Terminate
This change reduces a render thread usage in internal/ui.

Updates #2714
2023-12-27 02:28:55 +09:00
Hajime Hoshi
08ae0f4a94 ebiten: add type GamepadAxisType
Updates #1718
2023-12-25 02:02:56 +09:00
Hajime Hoshi
22715cd2d5 internal/gamepaddb: refactoring 2023-12-24 23:41:44 +09:00
Hajime Hoshi
4a2c8212fb internal/shaderir: fix comments 2023-12-24 23:10:41 +09:00
Hajime Hoshi
c48fc05132 internal/graphicsdriver/metal: use %w instead of %v for errors 2023-12-24 22:29:53 +09:00
Hajime Hoshi
f57703175e text/v2: rename LineSpaceInPixels -> LineSpace for consistency
Updates #2454
2023-12-24 15:06:19 +09:00
Hajime Hoshi
f0396ba915 text/v2: always use Segmenter
Updates go-text/typesetting#127
2023-12-24 03:30:27 +09:00
Hajime Hoshi
2e363cc19b internal/thread: fix comments 2023-12-23 23:23:52 +09:00
Hajime Hoshi
4895ae7f93 internal/graphicsdriver/opengl: refactoring: move some functions from internal/ui
Updates #2714
2023-12-23 22:30:13 +09:00
Hajime Hoshi
ee2ca6d20c internal/graphicsdriver/opengl: refactoring 2023-12-23 19:28:41 +09:00
Hajime Hoshi
01a4e29c5b internal/graphicsdriver/opengl/gl: add a build tag for PS5 2023-12-23 19:01:36 +09:00
Hajime Hoshi
6878bd79fc text/v2: bug fix: correct rendering vertical texts in Mongolian
Closes #2849
Updates go-text/typesetting#111
2023-12-21 22:58:15 +09:00
Ahmet Affan
ef1fea890f
examples/snake: update comments (#2869) 2023-12-21 04:30:42 +09:00
Hajime Hoshi
b73d63da29 internal/glfw: change the default client API to No-API 2023-12-21 04:05:13 +09:00
Hajime Hoshi
3184276068 Revert ".github/workflows: add Go 1.22.0-rc.1"
This reverts commit fa483ad267.

Reason: tests fail on 32bit Windows

Updates #2867
2023-12-21 02:14:17 +09:00
Hajime Hoshi
fa483ad267 .github/workflows: add Go 1.22.0-rc.1 2023-12-21 01:53:19 +09:00
Hajime Hoshi
06ca0157bf examples/texti18n: sort texts in an alphabetical order of languages 2023-12-20 13:38:07 +09:00
Hajime Hoshi
127e686564 examples/texti18n: update LICENSE.md 2023-12-20 12:59:19 +09:00
Hajime Hoshi
08b7f1ff9d examples/texti18n: add Burmese 2023-12-20 12:53:00 +09:00
Hajime Hoshi
037a818601 internal/graphicsdriver/opengl: bug fix: go-vet failed 2023-12-20 03:06:58 +09:00
Hajime Hoshi
4ef7b5c166 internal/graphicsdriver/opengl: refactoring: hide SetGLFWClientAPI
Updates #2714
2023-12-20 02:47:19 +09:00
Hajime Hoshi
f6f0cf05e6 internal/ui: refactoring: move updateVsyncOnRenderThread to the OpenGL driver
Updates #2714
2023-12-20 02:38:20 +09:00
Hajime Hoshi
12ae411d15 internal/graphicsdriver/opengl, internal/graphicsdriver/opengl/gl: refactoring 2023-12-20 02:19:33 +09:00
Hajime Hoshi
6fd18150d8 internal/graphicsdriver/opengl: move egl to the package opengl
Updates #2714
2023-12-19 23:41:14 +09:00
Hajime Hoshi
425b4dd99a internal/graphicsdriver/opengl: fix a wrong comment
Updates #2517
2023-12-18 01:44:27 +09:00
LidlDev
c80a82c501
examples/platformer: add more descrpitive comments (#2866) 2023-12-18 01:25:57 +09:00
bsski
b8df1217c3
all: fix typos (#2864) 2023-12-17 22:42:34 +09:00
Hajime Hoshi
3e50f59ca4 all: add go.work and go.work.sum to .gitignore 2023-12-17 17:33:01 +09:00
Hajime Hoshi
d7ebc19d04 internal/ui: refactoring: reduce usages of renderThread
Updates #2714
2023-12-17 16:21:07 +09:00
Hajime Hoshi
d6439c9e6c cmd/ebitenmobile: bug fix: failed to resolve dependencies
Something was changed by updating gomobile (76ac6878050a2eef81867f2c6c21108e59919e8f),
and an additional go-mod-tidy is now required.
2023-12-16 19:52:00 +09:00
Hajime Hoshi
9fe6f1e62c all: update dependencies 2023-12-16 18:38:25 +09:00
Şeta Narut
87c1766451
vector: typo (segument -> segment) (#2860) 2023-12-12 23:38:43 +09:00
Hajime Hoshi
769de21ad1 text/v2: bug fix: some OpenType fonts didn't work
NotoSansJP-VF.otf from https://github.com/notofonts/noto-cjk/releases/tag/Sans2.004
was not rendered correctly. This change fixes this issue.

Updates go-text/typesetting#122
2023-12-12 14:45:41 +09:00
Hajime Hoshi
c903cea637 text/v2: adjust offsets for vertical texts 2023-12-12 01:40:42 +09:00
Hajime Hoshi
d8af9dff28 text/v2: bug fix: Glyph's XOffset/YOffset should be considered 2023-12-12 01:33:25 +09:00
Hajime Hoshi
159c19a671 text: cache metrics 2023-12-11 17:40:10 +09:00
Hajime Hoshi
5a8cfb2561 text/v2: refactoring 2023-12-11 03:43:13 +09:00
Hajime Hoshi
e0741dcd94 text/v2: refactoring 2023-12-09 22:07:17 +09:00
BioErrorLog
d05afcbcfa
all: fix typos (#2859) 2023-12-08 13:35:52 +09:00
Hajime Hoshi
b2e979a84d all: update go-text
go-text/typesetting#118 is now fixed.
2023-12-07 13:06:52 +09:00
Hajime Hoshi
3b1684978b internal/ui: typo 2023-12-06 23:00:58 +09:00
Hajime Hoshi
6a8f37453e text/v2: bug fix: MultiFace should use the last face as the final resort 2023-12-05 21:40:53 +09:00
Hajime Hoshi
668124d25c text/v2: add a non-image glyphs for index info 2023-12-05 20:06:06 +09:00
Hajime Hoshi
800835d081 Revert "text/v2: rename Glyph -> Cluster"
This reverts commit f0d23de3d3.

Reason: Cluster doesn't represent a cluster but a part of a cluster.
2023-12-05 19:44:32 +09:00
Hajime Hoshi
f0d23de3d3 text/v2: rename Glyph -> Cluster
This also changes AppendClusters to return cluster info even if a
cluster doesn't have a glyph.
2023-12-05 18:00:30 +09:00
Hajime Hoshi
800101da90 text/v2: fix an error message
Updates #2845
2023-12-04 01:17:46 +09:00