Hajime Hoshi
f3206721a3
internal/restorable: remove alwaysReadPixelsFromGPU
...
Updates #805
2024-01-09 02:43:09 +09:00
Hajime Hoshi
afe3f7a8ff
internal/restorable: remove drawTrianglesHistoryItem
...
Updates #805
2024-01-09 02:40:27 +09:00
Hajime Hoshi
5a36b4bb48
internal/graphicsdriver/opengl/gl: remove IsTexture
...
Updates #805
2024-01-09 02:35:30 +09:00
Hajime Hoshi
48e3c766f7
internal/graphicsdriver: remove Image.IsInvalidated
...
Updates #805
2024-01-09 00:30:21 +09:00
Hajime Hoshi
a19f079da8
internal/graphicsdriver/playstation5: remove NeedsRestoring
2024-01-09 00:26:01 +09:00
Hajime Hoshi
c08a2193a9
internal/restorable: remove the case when the restoring is needed
...
Updates #805
2024-01-09 00:20:35 +09:00
Hajime Hoshi
771e5685f8
internal/graphicsdriver: remove NeedsRestoring()
...
Updates #805
2024-01-08 23:27:28 +09:00
Hajime Hoshi
a30f075896
cmd/ebitenmobile: use setPreserveEGLContextOnPause(true)
...
setPreserveEGLContextOnPause(true) suppresses context losts, and
basically we will no longer need our restoring logic.
Updates #805
2024-01-08 20:13:13 +09:00
Hajime Hoshi
9539a87b17
all: drop the support of gomobile-build
...
Closes #2741
2024-01-08 00:43:26 +09:00
Hajime Hoshi
9240372368
all: update dependencies
2024-01-07 19:19:14 +09:00
Hajime Hoshi
a4abc4472b
internal/shaderir/msl: always use the same function names
2024-01-07 18:54:15 +09:00
Hajime Hoshi
a176694dfb
update Oto to v3.2.0-alpha.3
2024-01-06 00:57:25 +09:00
Hajime Hoshi
c126bce7de
all: update Oto to increase the buffer size on macOS
...
This is basically the same as cdd995a9b2
,
but with an even bigger buffer.
2024-01-03 19:20:27 +09:00
Hajime Hoshi
cdd995a9b2
all: update Oto
...
This should mitigate noises on MacBook 2020.
2024-01-03 00:34:26 +09:00
Hajime Hoshi
87fe7bfd99
internal/graphicsdriver/metal: refactoring
2024-01-02 23:42:50 +09:00
Hajime Hoshi
fd63820139
internal/graphicsdriver/metal: bug fix: always use 3 drawables
...
Updates #2822
Closes #2880
2024-01-02 22:50:46 +09:00
Hajime Hoshi
ec9613dd94
Revert "internal/graphicsdriver/metal: bug fix: use 3 drawables for fullscreen"
...
This reverts commit 3c7bcf3035
.
Reason: the window unexpectedly blinks when exiting from fullscreen
Updates #2880
2024-01-02 22:47:09 +09:00
Hajime Hoshi
3c7bcf3035
internal/graphicsdriver/metal: bug fix: use 3 drawables for fullscreen
...
Closes #2880
2024-01-02 22:33:05 +09:00
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