restructure

This commit is contained in:
Aiden
2026-05-12 15:47:59 +10:00
parent 6a33bd02ab
commit 02b221f481
21 changed files with 40 additions and 33 deletions

View File

@@ -264,11 +264,13 @@ This app keeps the same core behavior but splits it into modules that can grow:
- `frames/`: system-memory handoff
- `platform/`: COM/Win32/hidden GL context support
- `render/`: cadence, simple rendering, PBO readback
- `render/RuntimeRenderScene`: render-thread-owned GL scene for ready runtime shader layers
- `render/RuntimeShaderPrepareWorker`: shared-context runtime shader program compile/link worker
- `render/`: cadence thread, clock, and simple renderer
- `render/readback/`: PBO-backed BGRA8 readback and completed-frame publication
- `render/runtime/RuntimeRenderScene`: render-thread-owned GL scene for ready runtime shader layers
- `render/runtime/RuntimeShaderPrepareWorker`: shared-context runtime shader program compile/link worker
- `runtime/`: app-owned shader layer readiness model, runtime Slang build bridge, and completed artifact handoff
- `control/`: local HTTP API edge and runtime-state JSON presentation
- `control/`: control action results and runtime-state JSON presentation
- `control/http/`: local HTTP API, static UI serving, OpenAPI serving, and WebSocket updates
- `json/`: compact JSON serialization helpers
- `video/`: DeckLink output wrapper and scheduling thread
- `telemetry/`: cadence telemetry

View File

@@ -1,6 +1,6 @@
#pragma once
#include "../control/HttpControlServer.h"
#include "../control/http/HttpControlServer.h"
#include "../logging/Logger.h"
#include "../telemetry/TelemetryHealthMonitor.h"
#include "../video/DeckLinkOutput.h"

View File

@@ -4,10 +4,10 @@
#include "../frames/SystemFrameTypes.h"
#include "../logging/Logger.h"
#include "../platform/HiddenGlWindow.h"
#include "Bgra8ReadbackPipeline.h"
#include "readback/Bgra8ReadbackPipeline.h"
#include "GLExtensions.h"
#include "RuntimeRenderScene.h"
#include "RuntimeShaderRenderer.h"
#include "runtime/RuntimeRenderScene.h"
#include "runtime/RuntimeShaderRenderer.h"
#include "SimpleMotionRenderer.h"
#include <algorithm>

View File

@@ -3,7 +3,7 @@
#include "RenderCadenceClock.h"
#include "../runtime/RuntimeLayerModel.h"
#include "../runtime/RuntimeShaderArtifact.h"
#include "RuntimeRenderScene.h"
#include "runtime/RuntimeRenderScene.h"
#include <atomic>
#include <condition_variable>

View File

@@ -1,6 +1,6 @@
#include "RuntimeRenderScene.h"
#include "../platform/HiddenGlWindow.h"
#include "../../platform/HiddenGlWindow.h"
#include <algorithm>
#include <functional>

View File

@@ -1,6 +1,6 @@
#include "RuntimeShaderPrepareWorker.h"
#include "../platform/HiddenGlWindow.h"
#include "../../platform/HiddenGlWindow.h"
#include "RuntimeShaderRenderer.h"
#include <algorithm>

View File

@@ -1,7 +1,7 @@
#pragma once
#include "RuntimeShaderProgram.h"
#include "../runtime/RuntimeLayerModel.h"
#include "../../runtime/RuntimeLayerModel.h"
#include <windows.h>

View File

@@ -1,7 +1,7 @@
#pragma once
#include "GLExtensions.h"
#include "../runtime/RuntimeShaderArtifact.h"
#include "../../runtime/RuntimeShaderArtifact.h"
#include <string>

View File

@@ -2,7 +2,7 @@
#include "GLExtensions.h"
#include "RuntimeShaderProgram.h"
#include "../runtime/RuntimeShaderArtifact.h"
#include "../../runtime/RuntimeShaderArtifact.h"
#include <cstdint>
#include <string>