mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 14:00:37 +00:00
🚧 WIP Step 16.2 Renames and fixes
This commit is contained in:
parent
aa7bd111f8
commit
54a4b70001
@ -7,9 +7,10 @@
|
||||
;; Discovery loads each scene and its transitive requires, including any
|
||||
;; colocated operation functions. Stripping :run! only makes output plain
|
||||
;; data; it cannot isolate browser dependencies. Keep this entire import
|
||||
;; graph safe for Node. Browser adapters supply execution capabilities in
|
||||
;; rtx; discovery must never invoke operation bodies. Ticket 06 must prove
|
||||
;; collection with a real pan body present, not just metadata-only cases.
|
||||
;; graph safe for Node. Browser adapters will supply execution capabilities in
|
||||
;; rtx; discovery must never invoke operation bodies. Collection with a
|
||||
;; real body present is proven by `contracts-scene/case`, not by the
|
||||
;; metadata-only rects cases.
|
||||
|
||||
(ns benches.render-wasm.cases
|
||||
"Case collection for the renderer benchmarks.
|
||||
@ -106,7 +107,7 @@
|
||||
:scene-seed (core/derive-seed master-seed
|
||||
(:scene registered)
|
||||
(:params registered))))]
|
||||
(as-invalid-case! #(core/check-collected-case! projected))))
|
||||
(as-invalid-case! #(core/check-collected-case projected))))
|
||||
|
||||
(defn scene-ids
|
||||
"Registered scene ids in declaration order."
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
In order to emulate editor behaviour, `upload-scene!` derives
|
||||
parent-before-child order from a validated scene
|
||||
snapshot and uploads it with `serialize-shapes-batch!`
|
||||
snapshot and uploads it with `serialize-shapes-batch`
|
||||
|
||||
Validation, timing, lifecycle (`_begin/_end_loading`), host font/image/grid
|
||||
sequencing and text layouts stay in the callers (tickets 02/05).
|
||||
@ -23,7 +23,7 @@
|
||||
(defn prepare-scene
|
||||
"Derives the parent-before-child shape vector from a validated `snapshot`.
|
||||
Call it outside measured regions, then pass the result to
|
||||
`serialize-shapes-batch!` inside."
|
||||
`serialize-shapes-batch` inside."
|
||||
[snapshot]
|
||||
(common/upload-order snapshot))
|
||||
|
||||
@ -38,4 +38,4 @@
|
||||
|
||||
Returns the prepared shape vector."
|
||||
[snapshot opts]
|
||||
(serialize-shape/serialize-shapes-batch! (prepare-scene snapshot) opts))
|
||||
(serialize-shape/serialize-shapes-batch (prepare-scene snapshot) opts))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user