(page: Page)
| 610 | } |
| 611 | |
| 612 | async function getWebGpuSplatDebugCounters(page: Page): Promise<WebGpuSplatDebugCounters> { |
| 613 | return page.evaluate(async () => { |
| 614 | const api = (window as Window & { __COLMAP_WEBVIEW_E2E__?: ColmapWebViewE2EApi }).__COLMAP_WEBVIEW_E2E__; |
| 615 | if (!api) throw new Error('Scene E2E probe is not installed'); |
| 616 | return api.getWebGpuSplatDebugCounters(); |
| 617 | }); |
| 618 | } |
| 619 | |
| 620 | async function resetE2ESession(page: Page): Promise<void> { |
| 621 | await page.evaluate(() => { |
no outgoing calls
no test coverage detected