Commit Graph

9386 Commits

Author SHA1 Message Date
Zyko
55f1a5d32e (Fixed) webgl 2024-04-10 18:57:55 +02:00
Zyko
fc3a6ed373 Fixed nil dst image checks 2024-04-10 18:56:25 +02:00
Zyko
c3a358b44b Fixed missing arg on gl with CGo 2024-04-09 02:40:21 +02:00
Zyko
d1fd70495b Revert to gl_FragData (future webgl) 2024-04-09 02:26:29 +02:00
Zyko
c7eeae7189 Cleanup 2024-04-09 01:00:26 +02:00
Zyko
4536fadebe Update hlsl 2024-04-08 23:48:16 +02:00
Zyko
280cc1a732 Update glsl 2024-04-08 23:43:19 +02:00
Zyko
577664c1cb Dirty directx11 2024-04-06 14:54:32 +02:00
Zyko
c247da0f05 Remove useless debug + setviewport only once 2024-04-06 11:40:12 +02:00
Zyko
9003692630 Restore unmanaged images 2024-04-06 11:21:04 +02:00
Zyko
32b5e3edd8 Saving 2024-04-05 20:39:14 +02:00
Hajime Hoshi
bb57fe8e15 exp/textinput: bug fix: go-vet error
Updates #1162
2024-04-04 12:41:11 +09:00
Hajime Hoshi
6f66386f07 exp/textinput: rewrite Objective-C into Go partially
Updates #1162
2024-04-04 11:59:15 +09:00
Hajime Hoshi
13039e214e all: update Oto 2024-04-04 11:56:02 +09:00
Hajime Hoshi
84a868e77e all: update PureGo
Updates ebitengine/purego#223
2024-04-04 11:52:16 +09:00
Hajime Hoshi
dfa8f21e52 text/v2: update go-text and remove unnecessary string conversions
Updates go-text/typesetting#152
2024-04-03 03:41:57 +09:00
Hajime Hoshi
b098922889 exp/textinput: typo 2024-04-02 03:09:54 +09:00
Hajime Hoshi
96a452d85c update Oto 2024-04-01 23:24:05 +09:00
Hajime Hoshi
4540ce5439 examples/scroll: update comments 2024-03-31 22:39:51 +09:00
Hajime Hoshi
4ae0712dc5 examples/scroll: support a mouse wheel 2024-03-31 19:38:36 +09:00
Hajime Hoshi
7ad9973d70 examples: add 'scroll' 2024-03-31 19:14:59 +09:00
Hajime Hoshi
caecd81f4e Revert "internal/graphicsdriver/directx: add 'tearing' for EBITENGINE_DIRECTX"
This reverts commit b6252a41f2.

Reason: We need more investigation about tearing and vsync=off

Updates #2858
2024-03-30 20:08:06 +09:00
Hajime Hoshi
a274bf03b7 all: update gomobile fixing an Apple validation/distribution issue
Closes #2946
2024-03-30 02:05:46 +09:00
Hajime Hoshi
4a9d47219b all: update README for new packages 2024-03-29 13:37:08 +09:00
Hajime Hoshi
24238e16af internal/gamepaddb: refactoring
Updates #2936
2024-03-29 13:25:30 +09:00
Kenny
941c97eba2
internal/gamepaddb: generate respective controller dbs for each platform (#2943)
Replace singular embedded controller database file with separate generated
files for each supported platform. The controller database file is some
~500KB, so this change should reduce the overall binary size per
platform.

Closes #2936
2024-03-29 13:17:16 +09:00
Hajime Hoshi
dc77c655af all: update Oto and PureGo 2024-03-27 23:09:12 +09:00
Hajime Hoshi
013e235628 cmd/ebitenmobile, exp/textinput: typo 2024-03-27 15:40:37 +09:00
Hajime Hoshi
59521d715b all: update go-text 2024-03-27 14:55:02 +09:00
Hajime Hoshi
11398f3bb5 ebiten: rename BuildTag -> BuildConstraints 2024-03-27 14:50:09 +09:00
Hajime Hoshi
5c0c084b6e cmd/ebitenmobile: update the default Android SDK version to 21 2024-03-27 14:23:00 +09:00
Hajime Hoshi
25a814d561 cmd/ebitenmobile: bug fix: wrong path was used
Updates #2937
2024-03-27 12:30:12 +09:00
Hajime Hoshi
0ab4538fa1 all: update gomobile
Closes #2937
2024-03-27 11:55:08 +09:00
Hajime Hoshi
fd2c79398e Revert "internal/atlas: refactoring: ensure ReadPixels to be processed in a frame"
This reverts commit 55702a7c28.

Reason: This didn't work with the single-thread mode.

Updates #1704
Closes #2939
2024-03-26 13:10:00 +09:00
Hajime Hoshi
459ad709a6 internal/gamepaddb: omit the database for consoles
Updates #2936
2024-03-25 03:08:19 +09:00
Hajime Hoshi
04c4676b7c internal/png: update with Go 1.22 2024-03-24 20:36:31 +09:00
Hajime Hoshi
6552ae1dbe internal/gamepaddb: do not include the database for browsers
This reduces Wasm binary size by 525kb.
2024-03-24 20:16:11 +09:00
Hajime Hoshi
dc8baf96f9 internal/gamepaddb: update the database 2024-03-24 19:18:49 +09:00
Hajime Hoshi
d04d6271d0 internal/ui: bug fix: reset some input states on blur events on browsers
Closes #2874
2024-03-24 16:03:17 +09:00
Hajime Hoshi
9147e7b21d all: update dependencies 2024-03-24 16:00:38 +09:00
Hajime Hoshi
28d5f78dfb all: update dependencies 2024-03-24 14:43:51 +09:00
Hajime Hoshi
f4029aaa77 ebiten: add (*Monitor).Size() to replace ScreenSizeInFullscreen()
Also, this change fixes redundant checks the case when a monitor
does not exist. Now Ebitengine checks a monitor existence at the
initialization.

Closes #2145
Closes #2795
2024-03-23 23:32:43 +09:00
Hajime Hoshi
230619a036 vector: allow NonZero for AppendVerticesAndIndicesForStroke
Closes #2833
2024-03-23 18:51:25 +09:00
Hajime Hoshi
b6252a41f2 internal/graphicsdriver/directx: add 'tearing' for EBITENGINE_DIRECTX
Now tearing happens only when 'tearing' is specified and vsync is off.

Closes #2858
2024-03-23 17:53:13 +09:00
Hajime Hoshi
0651803c40 examples/shader: add comments
Updates ebitengine/ebitengine.org#29
2024-03-23 15:45:55 +09:00
Hajime Hoshi
ea6fce45ff internal/shader: bug fix: crash on assignment mismatches 2024-03-23 15:30:49 +09:00
Hajime Hoshi
66667fe877 internal/shader: bug fix: test failures
Updates #2934
2024-03-23 15:15:33 +09:00
Hajime Hoshi
7842942b24 internal/shader: bug fix: need to covert constant type correctly for assignments
Closes #2934
2024-03-23 15:08:34 +09:00
Hajime Hoshi
e7bb66bb2f internal/shader: bug fix: ++/-- statements didn't work for vec2 on browsers
Closes #2933
2024-03-22 23:15:33 +09:00
Mykhailo Lohachov
1586c6764a
internal/shaderir: Kage update support for shift operators (#2916)
Closes #2755
2024-03-22 18:14:03 +09:00