UI updates and preroll buffer to 8 frames
Some checks failed
CI / Native Windows Build And Tests (push) Has been cancelled
CI / React UI Build (push) Has been cancelled
CI / Windows Release Package (push) Has been cancelled

This commit is contained in:
2026-05-05 20:56:53 +10:00
parent 44316b29c2
commit be315111ea
9 changed files with 763 additions and 378 deletions

View File

@@ -47,8 +47,11 @@ function App() {
return (
<main className="layout">
<section className="panel">
<h2>Loading</h2>
<h3>Loading</h3>
<p className="muted">Waiting for control state from the native host.</p>
<div className="progress-track" aria-hidden="true">
<div className="progress-bar is-indeterminate" />
</div>
</section>
</main>
);
@@ -58,7 +61,7 @@ function App() {
<main className="layout">
<header className="app-header">
<div>
<h1>Video Shader Toys</h1>
<h2>Video Shader Toys</h2>
<p className="muted">Live shader stack, DeckLink status, and runtime controls.</p>
</div>
<div className={`status-pill${runtime.compileSucceeded ? " status-pill--ready" : " status-pill--error"}`}>
@@ -66,6 +69,27 @@ function App() {
</div>
</header>
<section className="panel app-summary" aria-label="Runtime summary">
<dl className="summary-grid">
<div className="summary-item">
<dt>Shaders</dt>
<dd>{shaders.length}</dd>
</div>
<div className="summary-item">
<dt>Layers</dt>
<dd>{layers.length}</dd>
</div>
<div className="summary-item">
<dt>Signal</dt>
<dd>{video.hasSignal ? "Present" : "Missing"}</dd>
</div>
<div className="summary-item">
<dt>Render</dt>
<dd>{Number(performance.renderMs ?? 0).toFixed(2)} ms</dd>
</div>
</dl>
</section>
<section className="dashboard-grid">
<StatusPanels app={app} performance={performance} runtime={runtime} video={video} />
<StackPresetToolbar