Ui, project: the screenshot through CaptureNextFrame; the libraries pinned

Crafter.Graphics 079b6b0 replaced SaveFrame with CaptureNextFrame, and
the app no longer built against its master. The copy is now recorded
into the next frame before it is presented, where SaveFrame read back
an image already handed to the display (validation reported both the
layout transition and the missing acquire). The capture is armed first,
so the Update that follows draws the frame and writes the file; a file
the library cannot write (it throws from the Update) is logged and ends
the run with exit 1.

project.cpp pins Crafter.Graphics at 079b6b0 and Crafter.DB at bfd0cc2:
a commit of either library must not change a build without a commit
here. --local builds both from the sibling checkouts, now that the input
branch is merged.
This commit is contained in:
Jorijn van der Graaf 2026-10-20 23:15:25 +02:00
commit e413632668
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
3 changed files with 24 additions and 12 deletions

View file

@ -48,6 +48,10 @@ crafter-build format --check # what CI gates on
A test is an ordinary `int main()`: exit 0 passes. Tests link the core (and
the bus library where they need GLib) and never need a bus, a phone or a GPU.
The build takes Crafter.DB and Crafter.Graphics from the forge at the
commits `project.cpp` pins; `crafter-build -- --local` builds them from
sibling checkouts in `../Crafter/` instead.
## 4. Making changes
- Commit messages: subject `area: what changes`, the body says why; no AI