[Fix] (trace-replay): shorten Minecraft in-world fixture

This commit is contained in:
2026-06-17 12:34:32 +08:00
parent 102bd2cfd2
commit 61349ac0c2
13 changed files with 12 additions and 7 deletions
+2
View File
@@ -0,0 +1,2 @@
tools/trace_replay/fixtures/*.tgz filter=lfs diff=lfs merge=lfs -text
tools/trace_replay/fixtures/*.png filter=lfs diff=lfs merge=lfs -text
+4 -4
View File
@@ -208,8 +208,8 @@ jobs:
--case minecraft-1.21.4-in-world
--trace-archive tools/trace_replay/fixtures/minecraft-1.21.4-in-world.tgz
--trace-file trace.trace
--golden tools/trace_replay/fixtures/minecraft-1.21.4-in-world.0004000686.png
--target-call 4000686
--golden tools/trace_replay/fixtures/minecraft-1.21.4-in-world.0000280000.png
--target-call 280000
--width 854
--height 480
--tolerance 500
@@ -310,8 +310,8 @@ jobs:
--case minecraft-1.21.4-in-world
--trace-archive tools/trace_replay/fixtures/minecraft-1.21.4-in-world.tgz
--trace-file trace.trace
--golden tools/trace_replay/fixtures/minecraft-1.21.4-in-world.0004000686.png
--target-call 4000686
--golden tools/trace_replay/fixtures/minecraft-1.21.4-in-world.0000280000.png
--target-call 280000
--width 854
--height 480
--tolerance 500
+2 -2
View File
@@ -379,8 +379,8 @@ add_trace_replay_test_for_backends(minecraft-1.21.4-main-menu
add_trace_replay_test_for_backends(minecraft-1.21.4-in-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-in-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-in-world.0004000686.png
TARGET_CALL 4000686
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-in-world.0000280000.png
TARGET_CALL 280000
WIDTH 854
HEIGHT 480
TOLERANCE 500
+1 -1
View File
@@ -12,7 +12,7 @@ The bundled fixtures cover:
- minecraft-1.21.4-main-menu: captured from Minecraft 1.21.4's main menu.
![Minecraft 1.21.4 main menu golden](fixtures/minecraft-1.21.4-main-menu.0000481787.png)
- minecraft-1.21.4-in-world: captured from Minecraft 1.21.4 after entering a singleplayer world.
![Minecraft 1.21.4 in-world golden](fixtures/minecraft-1.21.4-in-world.0004000686.png)
![Minecraft 1.21.4 in-world golden](fixtures/minecraft-1.21.4-in-world.0000280000.png)
Build from the MobileGL repository root:
Binary file not shown.

Before

Width:  |  Height:  |  Size: 337 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 402 KiB

After

Width:  |  Height:  |  Size: 131 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 131 B

Binary file not shown.