caliper shot¶
caliper shot draws one applet's page without a window, as the app draws it, and writes the last frame as a PNG.
| Field | Value |
|---|---|
| ID | COR-08 |
| Status | Shipped |
| Scope | Supporting |
| Pillar | Core Runtime and SDK |
| Sprint | None |
| Depends On | Applets Loaded from Outside the Repository (COR-06) |
| Unblocks | Applet Platform on Windows (PLT-06)Capture Service ( SPC-16) |
| Docs | Shot and Serve Commands, caliper shot |
| Branches | None |
| Design | None |
Coverage Ledger¶
- design/builder-session.md, under SessionHost. The app implements app.info, app.applets, app.launch, capture.frame and panel.render for the session.
- design/platform-candidates.md, under Findings about existing services. Screen capture belongs to the host: a service that owns capture, scripting and recording, starting from caliper shot and Caliper API's capture.
- design/roadmap.md, under Phase 1: one core with versioned applets. Step 5: the caliper subcommands list, check, info, new, install <folder>, dev and shot; caliper shot is the first piece of the capture service.
- design/spec-format.md, under The spec runtime. SpecOffscreen and OffscreenPanelRenderer draw a panel off screen into a PNG, which is what panel.render returns.
- design/windows-parity.md, under Where Windows stands. Code already handles several Windows details: LoadLibraryA, ; separator, %APPDATA%, LockFileEx, caliper shot on Vulkan offscreen, the caliper-embed package.
- design/windows-parity.md, under 2. The applet platform. caliper shot kept as is and compared with a macOS shot.
- Shot and Serve Commands, caliper shot. caliper shot draws one applet page without a window and writes the last frame as a PNG.
- Pull request #13. Pull request 13 (merged) delivers roadmap Phase 1: the SDK package, a core that compiles no applets, loading from outside, the Caliper CLI, Caliper Embed as a package, and docs and plans.