This website requires JavaScript.
Explore
Help
Sign In
shinyobjectz
/
raea
Watch
1
Star
0
Fork
0
mirror of
https://github.com/shinyobjectz/raea.git
synced
2026-12-01 12:44:11 -10:00
Code
Issues
Packages
Projects
Releases
1
Wiki
Activity
Files
farm-fair-share
raea
/
runtime
/
react
/
src
T
Add File
New File
Upload File
Apply Patch
Copy Permalink
Download directory as ZIP
Download directory as TAR.GZ
History
shinyobjectz
e9a7b9fd16
An <R3F> in a box of the page shows what the page paints under it: the camera clears to nothing there, where it took the nearest ancestor's colour and cut a sibling layer out (
#235
)
2026-11-24 23:46:55 -08:00
..
scene
An <R3F> in a box of the page shows what the page paints under it: the camera clears to nothing there, where it took the nearest ancestor's colour and cut a sibling layer out (
#235
)
2026-11-24 23:46:55 -08:00
animate.rs
raea e2d2dd2c0
2026-11-06 20:49:59 -08:00
commits.rs
a layout read's settling and the stall guard (runtime/react settle and commits, runtime/shared stall and calls), with bench/realtime's stage and docs/layout-reads.feature
2026-11-17 19:52:34 -08:00
layers.rs
raea dc579e418
2026-10-31 13:15:29 -07:00
layout.rs
LR7: a composition's document, with LR5's style and LR8's observers. LR5: el.style reads and writes the element's style (writes send an update op; React's next commit to the property wins), and getComputedStyle answers from the page's computed style: page.layout takes { styles: [ids] } and the snapshot carries s: {id: {property: value}} for them, as stylo serializes it (engine/page read.rs computed_style), kept until the next commit (page-layout.ts computedOf). LR7: document has body (the composition's surface, the element the page draws from), documentElement, getElementById, querySelector(All), createElement (appended into the composition it's laid out and measurable, removed it's gone; a canvas is an OffscreenCanvas), createTextNode and createRange: a Range over a text node is its characters laid out in the parent's computed font, placed where the parent's line starts. An svg <text> has getComputedTextLength, getNumberOfChars, getStartPositionOfChar, getEndPositionOfChar and getSubStringLength, laid out by usvg in the element's computed font (canvas.svgText: family, size, weight, letter- and word-spacing, font-variation-settings). document.fonts loads a family the composition asked for (fonts.load), and a FontFace given by URL is fetched through raea's cache into the faces an svg's and a canvas's text are set in (fonts.face). window is globalThis with innerWidth, innerHeight, devicePixelRatio and getComputedStyle. LR8: ResizeObserver calls back after a commit whose layout changed an observed element's size, and once on observe, with contentRect, borderBoxSize and contentBoxSize; while a delayRender hold is open it checks every 16 ms, as a browser renders while a page waits. MutationObserver and IntersectionObserver exist and never call back. A pass that draws no page (the sound pass, the 3D rows' pre-pass) answers reads with a 0 x 0 page, and its holds are released (page-layout.ts noPage): a hold waiting on a measure could never end there. probes/document.tsx and probes/observe.tsx match Chrome within 1 px
2026-11-12 16:16:09 -08:00
lib.rs
a layout read's settling and the stall guard (runtime/react settle and commits, runtime/shared stall and calls), with bench/realtime's stage and docs/layout-reads.feature
2026-11-17 19:52:34 -08:00
pointer.rs
raea dc579e418
2026-10-31 13:15:29 -07:00
scene.rs
LR1: room for the layout reads in crates at their 2000-line limit. Matchmove (raea track, matchmove.solve) moves out of raea-runtime-react into raea-runtime-track, which react re-exports as scene::track; the frame pages' asset writer (store_page, store_clear, the writer pool) moves out of raea-runtime-export into raea-runtime-pagestore. page-layout installs itself on import, so the entry adds one line. A pass with no page answers NOTHING_DRAWN, and wait_flush takes the runtime's ask. page-layout and dom-reads are installed by the entry, so the manual's and the skill's references skip them as they skip canvas2d
2026-11-12 14:09:19 -08:00
thread.rs
raea run prints its console, its answer and a throw's message (
#168
)
2026-11-21 19:11:44 -08:00