feat: add screenshot method ldopengl

This commit is contained in:
2026-07-06 22:40:41 +08:00
parent d817bb15e8
commit 7c3ef72447
9 changed files with 363 additions and 6 deletions
+4
View File
@@ -191,6 +191,8 @@ class Benchmark(DaemonBase):
click = ['ADB', 'Hermit', 'MaaTouch']
if self.device.nemu_ipc_available():
screenshot.append('nemu_ipc')
if self.device.ldopengl_available():
screenshot.append('ldopengl')
scene = self.config.Benchmark_TestScene
if 'screenshot' not in scene:
@@ -231,6 +233,8 @@ class Benchmark(DaemonBase):
screenshot = remove('ADB_nc', 'aScreenCap_nc')
if self.device.nemu_ipc_available():
screenshot.append('nemu_ipc')
if self.device.ldopengl_available():
screenshot.append('ldopengl')
screenshot = tuple(screenshot)
self.TEST_TOTAL = 3