[Fix] (replay-trace): enable GLES mod retraces and crop minimap

This commit is contained in:
2026-06-29 10:17:30 +08:00
parent 3fc6357f28
commit d78892cad0
2 changed files with 19 additions and 269 deletions
+3 -257
View File
@@ -216,7 +216,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-common-mods-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-common-mods-in-world.0000522084.png
vulkan_only: true
target_call: 522084
width: 854
height: 480
@@ -229,7 +228,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-common-mods-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-common-mods-inventory.0000728558.png
vulkan_only: true
target_call: 728558
width: 854
height: 480
@@ -242,7 +240,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory.0005431826.png
vulkan_only: true
target_call: 5431826
width: 854
height: 480
@@ -255,7 +252,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.0002553500.png
vulkan_only: true
target_call: 2553500
width: 854
height: 480
@@ -268,7 +264,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.0001598209.png
vulkan_only: true
target_call: 1598209
width: 854
height: 480
@@ -281,7 +276,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.0002632392.png
vulkan_only: true
target_call: 2632392
width: 854
height: 480
@@ -294,7 +288,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory.0004907381.png
vulkan_only: true
target_call: 4907381
width: 854
height: 480
@@ -307,7 +300,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png
vulkan_only: true
target_call: 6599207
width: 854
height: 480
@@ -320,20 +312,18 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png
vulkan_only: true
target_call: 3893975
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
crop_y: 10
crop_width: 140
crop_height: 158
timeout_seconds: 1800
- name: minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png
vulkan_only: true
target_call: 2099794
width: 854
height: 480
@@ -346,7 +336,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png
vulkan_only: true
target_call: 5099482
width: 854
height: 480
@@ -359,7 +348,6 @@ jobs:
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png
vulkan_only: true
target_call: 8585354
width: 854
height: 480
@@ -550,248 +538,6 @@ jobs:
crop_width: 0
crop_height: 0
timeout_seconds: 900
exclude:
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-common-mods-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-common-mods-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-common-mods-in-world.0000522084.png
vulkan_only: true
target_call: 522084
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-common-mods-inventory
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-common-mods-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-common-mods-inventory.0000728558.png
vulkan_only: true
target_call: 728558
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-rei-inventory
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory.0005431826.png
vulkan_only: true
target_call: 5431826
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-xaero-minimap-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.0002553500.png
vulkan_only: true
target_call: 2553500
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-xaero-world-map-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.0001598209.png
vulkan_only: true
target_call: 1598209
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-journeymap-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.0002632392.png
vulkan_only: true
target_call: 2632392
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-modernui-inventory
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory.0004907381.png
vulkan_only: true
target_call: 4907381
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-rei-inventory-normal-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png
vulkan_only: true
target_call: 6599207
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png
vulkan_only: true
target_call: 3893975
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png
vulkan_only: true
target_call: 2099794
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-journeymap-in-world-normal-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png
vulkan_only: true
target_call: 5099482
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-modernui-inventory-normal-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png
vulkan_only: true
target_call: 8585354
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
steps:
- name: Checkout repo
uses: actions/checkout@v4
+16 -12
View File
@@ -410,7 +410,7 @@ add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-sodium-in-world
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-common-mods-in-world DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-common-mods-in-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-common-mods-in-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-common-mods-in-world.0000522084.png
@@ -419,7 +419,7 @@ add_trace_replay_test(minecraft-1.21.4-fabric-common-mods-in-world DirectVulkan
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-common-mods-inventory DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-common-mods-inventory
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-common-mods-inventory.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-common-mods-inventory.0000728558.png
@@ -428,7 +428,7 @@ add_trace_replay_test(minecraft-1.21.4-fabric-common-mods-inventory DirectVulkan
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-rei-inventory DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-rei-inventory
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-rei-inventory.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-rei-inventory.0005431826.png
@@ -437,7 +437,7 @@ add_trace_replay_test(minecraft-1.21.4-fabric-rei-inventory DirectVulkan
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-xaero-minimap-in-world DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-xaero-minimap-in-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.0002553500.png
@@ -446,7 +446,7 @@ add_trace_replay_test(minecraft-1.21.4-fabric-xaero-minimap-in-world DirectVulka
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-xaero-world-map-in-world DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-xaero-world-map-in-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.0001598209.png
@@ -455,7 +455,7 @@ add_trace_replay_test(minecraft-1.21.4-fabric-xaero-world-map-in-world DirectVul
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-journeymap-in-world DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-journeymap-in-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.0002632392.png
@@ -464,7 +464,7 @@ add_trace_replay_test(minecraft-1.21.4-fabric-journeymap-in-world DirectVulkan
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-modernui-inventory DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-modernui-inventory
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-modernui-inventory.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-modernui-inventory.0004907381.png
@@ -473,7 +473,7 @@ add_trace_replay_test(minecraft-1.21.4-fabric-modernui-inventory DirectVulkan
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-rei-inventory-normal-world DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-rei-inventory-normal-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png
@@ -482,16 +482,20 @@ add_trace_replay_test(minecraft-1.21.4-fabric-rei-inventory-normal-world DirectV
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png
TARGET_CALL 3893975
WIDTH 854
HEIGHT 480
CROP_X 0
CROP_Y 10
CROP_WIDTH 140
CROP_HEIGHT 158
)
add_trace_replay_test(minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png
@@ -500,7 +504,7 @@ add_trace_replay_test(minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-wo
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-journeymap-in-world-normal-world DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-journeymap-in-world-normal-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png
@@ -509,7 +513,7 @@ add_trace_replay_test(minecraft-1.21.4-fabric-journeymap-in-world-normal-world D
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-modernui-inventory-normal-world DirectVulkan
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-modernui-inventory-normal-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png