mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Fix] (trace-replay): align Android retrace harness
This commit is contained in:
@@ -227,7 +227,7 @@ run_retrace() {
|
|||||||
copy_fixture_to_app
|
copy_fixture_to_app
|
||||||
adb_device_path shell am force-stop "${package_name}"
|
adb_device_path shell am force-stop "${package_name}"
|
||||||
"${ADB}" logcat -c
|
"${ADB}" logcat -c
|
||||||
set -- am start -W -a top.mobilegl.plugin.TRACE_REPLAY \
|
set -- am start -a top.mobilegl.plugin.TRACE_REPLAY \
|
||||||
-n "${package_name}/top.mobilegl.plugin.trace.TraceReplayActivity" \
|
-n "${package_name}/top.mobilegl.plugin.trace.TraceReplayActivity" \
|
||||||
--es trace_path "${app_dir}/input/trace.trace" \
|
--es trace_path "${app_dir}/input/trace.trace" \
|
||||||
--es golden_path "${app_dir}/input/golden.png"
|
--es golden_path "${app_dir}/input/golden.png"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ BACKENDS = {
|
|||||||
"DirectGLES": {
|
"DirectGLES": {
|
||||||
"apk": ROOT / "android-plugin" / "app" / "build" / "outputs" / "apk" / "esprytTrace" / "debug" / "MobileGL-EsprytTrace-debug.apk",
|
"apk": ROOT / "android-plugin" / "app" / "build" / "outputs" / "apk" / "esprytTrace" / "debug" / "MobileGL-EsprytTrace-debug.apk",
|
||||||
"package": "top.mobilegl.plugin.espryt.trace",
|
"package": "top.mobilegl.plugin.espryt.trace",
|
||||||
"use_angle": False,
|
"use_angle": True,
|
||||||
"use_pbuffer": False,
|
"use_pbuffer": False,
|
||||||
},
|
},
|
||||||
"DirectVulkan": {
|
"DirectVulkan": {
|
||||||
|
|||||||
Reference in New Issue
Block a user