luft/render/instrument-tests.lisp
The shared palette does not advertise a command it cannot yet prompt.
A native destination with a lifetime and frame clock.
Test whether two compatible scalars are equal.
((agent application-agent) &key)(canvas)Return true when the caller is CANVAS's native event/frame thread.
Logical conjunction of tests and raw truth values.
(canvas function)Run FUNCTION with a timestamp on CANVAS's native frame/event thread. The initial native implementation is synchronous: the caller waits for the function's values. The protocol leaves room for a real frame scheduler.
(instrument)Return INSTRUMENT's input and visual stacking priority.
(instrument viewer)Publish INSTRUMENT's already-owned state at VIEWER's frame boundary.
(instrument viewer pass surface-texture physical-extent)Encode INSTRUMENT into VIEWER's final PASS at PHYSICAL-EXTENT.
(instrument viewer canvas event)Handle EVENT for INSTRUMENT and return true when world input must stop.
(instrument viewer)Release INSTRUMENT while VIEWER's GPU device is live.
(viewer)Return VIEWER's live mutation owner, or NIL before native startup.
(viewer instrument)Attach INSTRUMENT at VIEWER's frame boundary in explicit priority order. ADD consumes a newly offered INSTRUMENT on both success and terminal rejection. Once VIEWER begins stopping, the rejected instrument is released exactly once before APPLICATION-ATTACHMENT-CLOSED is signalled.
(viewer)(controller function)Run FUNCTION as CONTROLLER's sole teardown, or observe its published result. A concurrent caller waits while the owner runs. A later caller receives the same values or signals the same condition without running FUNCTION again.
(viewer instrument)Detach and release INSTRUMENT at a frame boundary. Return true when it was attached. Release is synchronous with the caller and therefore cannot overlap a native frame which still borrows the instrument.
Named release failures reported without replacing an active transfer.
An application attachment was offered after terminal teardown began.
(viewer)Logical disjunction of tests and raw truth values.
(controller)(compositor mirror revision)Prepare COMPOSITOR for immutable MIRROR REVISION outside a render pass.
A direct GPU target for an ordered LUV-GPU-MEDIUM drawing stream. An embedded mirror retains an immutable prepared CPU revision for the game's final pass; a standalone mirror renders into its native canvas drawable.
(mirror commands vertices analytic-vertices relief-vertices
gradient-vertices image-vertices text-data &key (copy-p t))(mirror revision)(viewer)Publish frame-boundary instruments, then borrow VIEWER's renderer. An instrument operation may transactionally replace the complete renderer cohort and retire the previous one. No frame may borrow that previous cohort before the operation boundary, or it would encode through resources which the same canvas thread…
(viewer)(viewer pass surface-texture physical-extent)(viewer canvas event)Logical negation of one test or raw truth value.
(tables &key owner-frame (inherited nil))Return cached M-x entries read from TABLES. Each command appears once even when command-table inheritance exposes it in several layers. OWNER-FRAME, when supplied, excludes commands which that application currently disables. Commands with required arguments remain out until M-x has an argument-prompting interaction…
(owner-frame)Return the command tables whose executable vocabulary M-x shows. The default is OWNER-FRAME's complete table. Applications may either pass an explicit list to MAKE-EMBEDDED-COMMAND-MENU or specialize this protocol when their semantic layers should remain separately inspectable.
(viewer event)(key-name &key character modifiers repeat-p)
This is the semantic shape of a metabar operation which rebuilds and publishes the renderer cohort at the frame boundary.