Hajime Hoshi
2a465c2d0b
internal/atlas: bug fix: do not pass nil to WritePixels
2024-01-13 18:33:02 +09:00
Hajime Hoshi
81e1104613
internal/restorable: refactoring
...
Updates #805
2024-01-13 18:19:48 +09:00
Hajime Hoshi
e804f9e58c
internal/restorable: integrate ReadPixels into internal/atlas
...
Updates #805
2024-01-13 18:19:43 +09:00
Hajime Hoshi
c5d0ec3de7
internal/restorable: integrate some functions into internal/atlas
...
Updates #805
2024-01-13 18:05:42 +09:00
Hajime Hoshi
21ef462c37
internal/restorable: remove ImageType
...
Updates #805
2024-01-13 18:03:39 +09:00
Hajime Hoshi
d906dc3a21
internal/packing: rename a function
2024-01-13 17:42:51 +09:00
Hajime Hoshi
3651d73e0b
internal/atlas: move some functions in internal/restorable to internal/atlas
...
Updates #805
2024-01-13 14:05:24 +09:00
Hajime Hoshi
d7a098d973
all: update purego
2024-01-13 02:49:00 +09:00
Hajime Hoshi
f610cb5724
internal/restorable: move SwapBuffers to internal/atlas
...
Updates #805
2024-01-09 04:55:26 +09:00
Hajime Hoshi
7c9266d8b6
internal/restorable: move DumpImages to internal/atlas
...
Updates #805
2024-01-09 04:50:22 +09:00
Hajime Hoshi
fdf36026ae
internal/atlas: add special backends to theBackends for consistency
2024-01-09 04:39:15 +09:00
Hajime Hoshi
fe0b33db58
internal/atlas: improve deallocation
2024-01-09 04:31:23 +09:00
Hajime Hoshi
8c2d4e1408
internal/restorable: remove ImageTypeRestorable
...
Updates #805
2024-01-09 03:35:32 +09:00
Hajime Hoshi
4f3e00ec3a
internal/restorable: remove unnecessary functions and variables around shaders
...
Updates #805
2024-01-09 03:23:13 +09:00
Hajime Hoshi
8169253a57
internal/restorable: remove unused functions and variables
...
Updates #805
2024-01-09 02:56:15 +09:00
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