Commit Graph

9410 Commits

Author SHA1 Message Date
Zyko
b2b88f4bdd Disable metal shader compilation tests tmp 2024-04-12 00:17:12 +02:00
Zyko
042fdab3d0 Fixed shader testdata (except msl) 2024-04-12 00:09:36 +02:00
Zyko
15ccaf1998 Fixed ps5 src argument constant name 2024-04-10 22:06:56 +02:00
Zyko
15b5c888ca Fixed DrawTriangles for ps5 2024-04-10 22:00:37 +02:00
Zyko
8c0bc0a2e0 Implement the correct DrawTriangles definition on metal 2024-04-10 21:55:00 +02:00
Zyko
ced0c62827 go vet error check 2024-04-10 21:11:32 +02:00
Zyko
6a8c00e0aa Fixed opengl tests 2024-04-10 21:08:03 +02:00
Zyko
92a257a557 directx: Better logic to assume MRT 2024-04-10 20:17:20 +02:00
Zyko
65646df8ed Temporary fix for directx11 2024-04-10 20:12:10 +02:00
Zyko
c73221ac16 Merge upstream - fixed conflicts 2024-04-10 19:15:34 +02:00
Zyko
1b3bfda17b Fixed empty target for directx11 2024-04-10 19:10:21 +02:00
Zyko
c9eb30d66f Fixed magic number 2024-04-10 18:59:21 +02:00
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
Hajime Hoshi
ac6c346c8b all: update PureGo to v0.8.0-alpha.1 2024-04-11 01:29:44 +09:00
Hajime Hoshi
3cf3b27729 internal/graphicsdriver/opengl: refactoring: rename variables
A framebuffer's width and height are unclear. Rename them to
viewportWidth and viewportHeight.
2024-04-10 23:38:25 +09: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
lvyaoting
f6927232f2
all: fix function names in comment (#2957)
Signed-off-by: lvyaoting <lvyaoting@outlook.com>
2024-04-08 14:27:27 +09:00
Hajime Hoshi
6eee7ccc5f text/v2: rename a file 2024-04-08 10:20:01 +09:00
Hajime Hoshi
229a8d6cfd all: update PureGo 2024-04-08 02:24:25 +09:00
Hajime Hoshi
c9a3ef28eb text/v2: avoid creating an option struct when the given option is nil 2024-04-07 22:28:21 +09:00
Hajime Hoshi
2b9e307ec2 text/v2: bug fix: given options were unexpectedly modified
Closes #2954
2024-04-07 22:16:17 +09:00
Hajime Hoshi
85c0f4444b text/v2: update comments 2024-04-07 19:22:37 +09:00
Hajime Hoshi
9c070eb2f3 Revert "internal/graphicsdriver/gl: use PureGo for Linux and UNIX"
This reverts commit 5701206229.

Reason: error on Android:

```
/Users/runner/go/pkg/mod/github.com/ebitengine/purego@v0.8.0-alpha.0.20240404024320-d0aedd0f4393/func.go:301:4: too few values in struct literal of type syscall15Args
```

https://github.com/hajimehoshi/ebiten/actions/runs/8582651053/job/23521003819
2024-04-07 03:00:13 +09:00
Hajime Hoshi
9dc103491a internal/ui: bug fix: a window was shown unexpectedly at start-up
Closes #2951
2024-04-07 02:55:48 +09:00
Hajime Hoshi
5701206229 internal/graphicsdriver/gl: use PureGo for Linux and UNIX
Updates #2284
2024-04-07 02:08:40 +09:00
Hajime Hoshi
d6f7b50387 internal/ui: bug fix: setting a size failed for an invisible window
Updates #2725
Closes #2951
2024-04-06 22:26:01 +09: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