Commit Graph

7557 Commits

Author SHA1 Message Date
Hajime Hoshi
0217ed0544 ebiten: add WritePixels replacing ReplacePixels
Closes #2236
2022-08-08 03:50:27 +09:00
Hajime Hoshi
24424d036c ebiten: update comments 2022-08-08 03:42:14 +09:00
Hajime Hoshi
34aa52459e internal/ui: rename ReplacePixels -> WritePixels
Updates #2236
2022-08-08 03:32:26 +09:00
Hajime Hoshi
bd1b9cdb9b internal/mipmap: rename ReplacePixels -> WritePixels
Updates #2236
2022-08-08 03:32:21 +09:00
Hajime Hoshi
7061b34222 internal/buffered: rename ReplacePixels -> WritePixels
Updates #2236
2022-08-08 03:32:11 +09:00
Hajime Hoshi
8ce84c6596 internal/atlas: rename ReplacePixels -> WritePixels 2022-08-08 03:24:46 +09:00
Hajime Hoshi
af894d5c83 internal/restorable: rename ReplacePixels -> WritePixels
Updates #2236
2022-08-08 03:16:26 +09:00
Hajime Hoshi
7542bbc29c internal/graphicscommand: bug fix: test failures
Updates #2236
2022-08-08 03:10:50 +09:00
Hajime Hoshi
70f5e84098 internal/graphicsdriver: rename ReplacePixels to WritePixels
Updates #2236
2022-08-08 03:05:04 +09:00
Hajime Hoshi
ea04e2a9de ebiten: remove returning error from ReadPixels
- As ReadPixels should often be used at Draw, error handling would be hard.
- Make the API consistent with ReplacePixels.

Updates #1995
2022-08-08 02:48:25 +09:00
Hajime Hoshi
39790c257b ebiten: update comments 2022-08-08 01:59:09 +09:00
Hajime Hoshi
869147eda0 internal/graphicscommand: rename pixelCommand -> readPixelCommand
Updates #1995
2022-08-08 01:47:07 +09:00
Hajime Hoshi
c382cb2b05 ebiten: use %v for consistency 2022-08-08 01:43:11 +09:00
Hajime Hoshi
81bd5b488c ebiten: add (*Image).ReadPixels
Closes #1995
2022-08-08 01:42:26 +09:00
Hajime Hoshi
72d5002e72 remove go2cpp support
Closes #2126
2022-08-07 22:17:53 +09:00
Hajime Hoshi
3fe59e75cb audio: remove go2cpp support
Updates #2126
2022-08-07 21:56:57 +09:00
Hajime Hoshi
05dd36ec7b examples/fullscreen: enable to test on mobile browsers
Closes #2060
2022-08-07 19:31:56 +09:00
Hajime Hoshi
abcacc26d8 internal/glfwwin: update for GLFW v3.3.8
Closes #2214
2022-08-07 15:03:33 +09:00
Hajime Hoshi
4a00bbc299 update GLFW to v3.3.8 for non-Windows
Updates #2214
2022-08-07 13:24:20 +09:00
Hajime Hoshi
98894d66fb internal/ui: revert the fix for #2183
- `CGEventSourceKeyState` cannot treat right modifier keys correctly.
- Unpaired keyup and keydown are very common (especially on browsers)
  and this is not a serious issue.

Updates #2183
2022-08-06 11:19:56 +09:00
Hajime Hoshi
6d87be7169 internal/ui, internal/mipmap: refactoring: replace At with ReadPixels
Updates #1995
2022-08-06 00:32:42 +09:00
Hajime Hoshi
6c22f3f1a8 internal/buffered: refactoring: replace At with ReadPixels
Updates #1995
2022-08-05 23:58:01 +09:00
Hajime Hoshi
bf5f7ee34d internal/restorable: refactoring: replace At with ReadPixels
Updates #1995
2022-08-05 23:37:27 +09:00
Hajime Hoshi
7b6ce7dcba internal/ui: bug fix: reset key states when the window is not focused on macOS
Updates #2183
2022-08-05 20:22:50 +09:00
Hajime Hoshi
e81c46a0d7 internal/ui: bug fix: vkKey definitions were not found on iOS 2022-08-05 19:10:42 +09:00
Hajime Hoshi
50f66963b0 internal/ui: refactoring 2022-08-05 19:07:47 +09:00
Hajime Hoshi
a7135ce10b internal/ui: fix build tags 2022-08-05 19:07:37 +09:00
Hajime Hoshi
a6004517dc internal/ui: use a direct method to get key states instead of events on macOS
Closes #2183
2022-08-05 19:04:01 +09:00
Hajime Hoshi
65654f0fc4 ebitenutil: deprecate some APIs 2022-08-04 16:23:46 +09:00
raa0121
c98501060f
ebitenutil: add NewImageFromFileSystem() (#2230)
Closes #1948
2022-08-04 00:43:31 +09:00
mattn
2bacecca24
fix typos (#2227) 2022-08-03 22:40:39 +09:00
Hajime Hoshi
1ecc34c2f2 cmd/ebitenmobile: fix typo
The generated result is already in the previous commit
3cd0daac67 unexpectedly.
2022-08-03 20:52:25 +09:00
mattn
3cd0daac67
go generate ./... with Go 1.19 (#2228) 2022-08-03 20:48:02 +09:00
Hajime Hoshi
5bf1934a70 .github/workflow: update for Go 1.19 2022-08-03 02:15:32 +09:00
Hajime Hoshi
1467772ca3 .github/workflow: specify Android NDK version explicitly
Updates #2085
Closes #2226
2022-08-03 02:05:24 +09:00
Hajime Hoshi
6a985fae4b update Oto: bug fix: crash when the window was inactive and the audio was suspended on Windows
Updates hajimehoshi/oto#179
2022-08-03 00:17:25 +09:00
Hajime Hoshi
764ec8c794 internal/atlas: refactoring 2022-08-02 01:13:46 +09:00
Hajime Hoshi
3d034610a9 ebitenutil: adjust the size of the debug print text image 2022-08-01 14:04:33 +09:00
Hajime Hoshi
074d370096 ebitenutil: improve the performance of DebugPrint
Updates #1880
2022-08-01 01:35:59 +09:00
Hajime Hoshi
dad72b874f ebitenutil: use bitmapfont for the debug print
This removes ebitenutil/internal/assets.
2022-08-01 01:27:03 +09:00
Hajime Hoshi
caa04c45c3 ebitenutil/internal/assets: remove an unused file 2022-08-01 00:30:32 +09:00
Herczog Zoltán
fabf3fb374
internal/graphicsdriver/metal: remove supportsMetal check (#2223)
Closes #2211
2022-07-31 21:20:53 +09:00
Hajime Hoshi
508a42a9c4 update Oto for pure Go on Darwin
Updates #1162
2022-07-31 20:47:13 +09:00
Hajime Hoshi
a27d9a2c48 remove AUTHORS
See golang/go#53961.
2022-07-31 15:47:55 +09:00
Vseslav Kochenov
3ac37e250f
ebiten: add ReadDebugInfo for getting debug info (only graphics libray so far) (#2222)
Closes #2177
2022-07-31 02:56:16 +09:00
Hajime Hoshi
37fe3cdabe ebiten: fix copyright year 2022-07-31 00:48:08 +09:00
Hajime Hoshi
2aa595de52 Revert "internal/graphicsdriver/directx: bug fix: check the error at CreateGraphicsPipelineState at initialization"
This reverts commit c183555cc8.

Reason: this didn't help anything on the reporter's machine
2022-07-31 00:46:26 +09:00
Hajime Hoshi
95fb4370db internal/glfwwin: remove the call of RemovePropW
This is unnecessary, and doesn't work on Xbox.

Also DestroyWindow doesn't work on Xbox so skip this on Xbox.

Updates #2084
2022-07-30 18:42:43 +09:00
Hajime Hoshi
a0546fc594 ebiten: document that EBITENGINE_GRAPHICS_LIBRARY can be set before RunGame 2022-07-30 17:40:48 +09:00
Hajime Hoshi
87aa498bd2 update Oto to v2.3.0-alpha.6 2022-07-30 13:53:34 +09:00