Commit Graph

9423 Commits

Author SHA1 Message Date
Zyko
75b6e1fa6d Fixed conflict 2024-04-12 18:39:47 +02:00
Zyko
f021b5ded8 Fixed IR tests + skipping metal for now 2024-04-12 18:34:29 +02:00
Hajime Hoshi
88dae9c7d4 all: update gen2brain/mpeg 2024-04-13 01:14:20 +09:00
Hajime Hoshi
4a964da0aa internal/shaderir: fix type mismatches 2024-04-12 23:42:06 +09:00
Hajime Hoshi
493db3baf3 all: update mpeg to v0.3.0 2024-04-12 21:59:07 +09:00
Hajime Hoshi
2bd9472d2c examples/video: performance optimization by encouraging BCE 2024-04-12 21:45:54 +09:00
Hajime Hoshi
c105224705 examples/video: show FPS 2024-04-12 15:16:26 +09:00
Hajime Hoshi
3c1d74b2d5 examples/texti18n: update comments 2024-04-12 12:28:15 +09:00
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
Hajime Hoshi
8467cafe74 examples/video: fix the title 2024-04-12 00:54:20 +09:00
Hajime Hoshi
4a87339a0a examples/video: use a shader to convert YCbCr to RGB 2024-04-12 00:47:10 +09:00
Hajime Hoshi
68cc017189 Revert "examples/video: reduce video FPS"
This reverts commit 6f3f58cb32.

Reason: decoding the video already follows the framerate of the MPEG
data and skips rendering when necessary, so there is no need to adjust
FPS from Update.
2024-04-11 22:43:48 +09:00
Hajime Hoshi
6f3f58cb32 examples/video: reduce video FPS 2024-04-11 22:06:20 +09:00
Hajime Hoshi
d3befbf89b examples: add an example to play a video
Closes #110
Updates #1768
Updates ebitengine/oto#235
2024-04-11 20:31:55 +09: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