[Feat] (trace-replay): add Minecraft in-world fixture

This commit is contained in:
2026-06-17 00:05:09 +08:00
parent 7c81906459
commit 44c3ea7844
7 changed files with 106 additions and 7 deletions
+10
View File
@@ -375,3 +375,13 @@ add_trace_replay_test_for_backends(minecraft-1.21.4-main-menu
HEIGHT 480
TOLERANCE 500
FUZZ_PERCENT 20)
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
WIDTH 854
HEIGHT 480
TOLERANCE 500
FUZZ_PERCENT 20)
+2
View File
@@ -11,6 +11,8 @@ The bundled fixtures cover:
![Minecraft 1.21.4 startup golden](fixtures/minecraft-1.21.4-startup.0000092195.png)
- 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)
Build from the MobileGL repository root:
Binary file not shown.

After

Width:  |  Height:  |  Size: 337 KiB