diff --git a/ROADMAP.md b/ROADMAP.md index 826a625d..03cbe6c4 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -131,7 +131,7 @@ Ranked; detail and milestones in [`docs/roadmap.md`](docs/roadmap.md). ## Progress log -- **2026-10-14** · Coarse zoom previews (M8, #295): a new zoom can't reuse the retained canvas image, and the old one, re-projected, covers 1/64 of the view after a zoom out from 800% to 100%, so the page colour showed until the full render was done. When renders from scratch take a frame or more, the render thread first renders the whole view with a quarter of the pixels each way (kept apart from the full image, so pans and edits still build on it) and then refines it unless a newer request waits; the web build does the two in consecutive frames; pixel preview gets none. The canvas never shows an image of another file or page, and a late preview never replaces a refined image at the zoom asked for. `ui.inspect` gives `canvas.quality`, `previewLatencyMs` and `refineLatencyMs`; `zoom_preview_tests`. Measured on Windows (600 layers with shadows, background blurs and glass, 904×860 canvas): 800% → 100% shows the whole view 7–15 ms after the request and the refined image at 63–69 ms (a 56 ms render). Numbers unchanged. +- **2026-10-14** · Coarse zoom previews (M8, #295): a new zoom can't reuse the retained canvas image, and the old one, re-projected, covers 1/64 of the view after a zoom out from 800% to 100%, so the page colour showed until the full render was done. When renders from scratch take a frame or more, the render thread first renders the whole view with a quarter of the pixels each way (kept apart from the full image, so pans and edits still build on it) and then refines it unless a newer request waits; the web build does the two in consecutive frames (renders are timed with a monotonic clock there too); pixel preview gets none. The canvas never shows an image of another file or page, and a late preview never replaces a refined image that already shows the whole view asked for. `ui.inspect` gives `canvas.quality`, `previewLatencyMs` and `refineLatencyMs` (request to texture handed to egui); `zoom_preview_tests`. Measured on Windows (600 layers with shadows, background blurs and glass, 904×860 canvas): 800% → 100% has the preview at 14–15 ms and the refined image at 63–73 ms (a 50 ms render); 100% → 800% about 15 ms and 190–198 ms. Left: the first render, and the first slow one after quick ones, come without a preview (the measure is the previous render from scratch). Numbers unchanged. - **2026-10-14** · Home screen recent files as cards (M7): each card shows the picture its file carries on its first page's colour, the file's icon, name and "Edited ... ago"; sort by name, creation or last change either way; a table view; a click selects, a double-click or Enter opens, arrow keys move; Open, Show in folder and Remove from recents on right-click. Numbers unchanged. - **2026-10-13** · Vector edit mode regions (M4): with the Move tool, the filled area under the pointer is hatched with "/" lines in the selection colour, clipped by the area's own fill rule so holes stay clear; the hatch goes near points (3.5 px) and segments (2 px), and its spacing follows octave folding (8 px at every power-of-two zoom), fixed to the shape. A click selects the area with its points (they move with it but keep the unselected look), Shift adds or removes one, a press on a selected area drags the whole selection as one undo step, and a click on an empty spot clears the areas and stays in edit mode. `vector.edit.select {regions}` and `vector.edit.state` (`regions`, `regionVertices`, `regionHover`); `vector_regions_tests` and `regions_tests`. Numbers unchanged. - **2026-10-14** · SVG/PDF export depth (M0.9, #208): visible descendants deeper than 256 levels below an exported root are refused before bounds or drawing, including masks and raster fallbacks. SVG has a checked API; the engine and CLI report the limit and suggest selecting an inner layer. Existing destination files survive refusal. Boundary, inner-root, hidden-subtree, multi-root/page and command/CLI regressions cover the change. Numbers unchanged. diff --git a/docs/control-protocol.md b/docs/control-protocol.md index 1b6cef46..df50a7fe 100644 --- a/docs/control-protocol.md +++ b/docs/control-protocol.md @@ -95,8 +95,10 @@ an idle window draws none) with the most frequent repaint requests behind them ( the autosave deadline included; egui's `context.rs` begin-pass line means input events) and what the last canvas render had to do (`canvas.renderWork`: `full`, `partial` with the `pixels` re-rendered after a pan or an edit, or `reused`), whether the canvas shows a coarse zoom preview or the refined image (`canvas.quality`: `preview` or `refined`) and the time from -asking for a render to the frame showing its preview and its refined image (`canvas.previewLatencyMs`, -`canvas.refineLatencyMs`; `null` until there was one). While a prototype plays, `presenter` +asking for a render to its preview and its refined image being handed to egui as the canvas +texture (`canvas.previewLatencyMs`, `canvas.refineLatencyMs`, on a monotonic clock, rendering +included in the browser too; the GPU upload and presenting the frame come after; `null` until +there was one). While a prototype plays, `presenter` (full window) and `preview` (the preview pane) hold the player's state: the `current` frame and its `name`, `start`, `history`, open `overlays`, how many delayed mouse triggers are `waiting`, the screen's `scroll` offset and `scrollRange`, the `device` (and whether it is turned to `landscape`, its `deviceColor`) and the `viewport` of the frame