Clean up pass
All checks were successful
CI / React UI Build (push) Successful in 10s
CI / Native Windows Build And Tests (push) Successful in 2m35s
CI / Windows Release Package (push) Successful in 2m38s

This commit is contained in:
Aiden
2026-05-11 16:52:53 +10:00
parent 06f3dd4942
commit e459155d51
6 changed files with 14 additions and 30 deletions

View File

@@ -1,10 +1,13 @@
#include "RuntimeServiceLiveBridge.h"
#include "RenderEngine.h"
#include "RuntimeServices.h"
#include <windows.h>
void RuntimeServiceLiveBridge::DrainServiceEvents(RuntimeServices& runtimeServices, RenderEngine& renderEngine)
namespace
{
void DrainServiceEvents(RuntimeServices& runtimeServices, RenderEngine& renderEngine)
{
std::vector<RuntimeServices::AppliedOscUpdate> appliedOscUpdates;
std::vector<RuntimeServices::CompletedOscCommit> completedOscCommits;
@@ -31,7 +34,7 @@ void RuntimeServiceLiveBridge::DrainServiceEvents(RuntimeServices& runtimeServic
renderEngine.UpdateOscOverlayState(overlayUpdates, overlayCommitCompletions);
}
void RuntimeServiceLiveBridge::QueueServiceCommitRequests(
void QueueServiceCommitRequests(
RuntimeServices& runtimeServices,
const std::vector<RenderEngine::OscOverlayCommitRequest>& commitRequests)
{
@@ -51,6 +54,7 @@ void RuntimeServiceLiveBridge::QueueServiceCommitRequests(
}
}
}
}
bool RuntimeServiceLiveBridge::PrepareLiveRenderLayerStates(
RuntimeServices& runtimeServices,

View File

@@ -1,18 +1,15 @@
#pragma once
#include "RenderEngine.h"
#include "ShaderTypes.h"
#include <vector>
class RenderEngine;
class RuntimeServices;
class RuntimeServiceLiveBridge
{
public:
static void DrainServiceEvents(RuntimeServices& runtimeServices, RenderEngine& renderEngine);
static void QueueServiceCommitRequests(
RuntimeServices& runtimeServices,
const std::vector<RenderEngine::OscOverlayCommitRequest>& commitRequests);
static bool PrepareLiveRenderLayerStates(
RuntimeServices& runtimeServices,
RenderEngine& renderEngine,

View File

@@ -1,12 +1,10 @@
#include "DeckLinkDisplayMode.h"
#include "OpenGLComposite.h"
#include "GLExtensions.h"
#include "GlRenderConstants.h"
#include "PngScreenshotWriter.h"
#include "RenderEngine.h"
#include "RuntimeCoordinator.h"
#include "RuntimeEventDispatcher.h"
#include "RuntimeParameterUtils.h"
#include "RuntimeServiceLiveBridge.h"
#include "RuntimeServices.h"
#include "RuntimeSnapshotProvider.h"
@@ -15,23 +13,15 @@
#include "ShaderBuildQueue.h"
#include "VideoBackend.h"
#include <algorithm>
#include <cctype>
#include <chrono>
#include <cmath>
#include <ctime>
#include <filesystem>
#include <iomanip>
#include <memory>
#include <set>
#include <sstream>
#include <string>
#include <vector>
namespace
{
}
OpenGLComposite::OpenGLComposite(HWND hWnd, HDC hDC, HGLRC hRC) :
hGLWnd(hWnd), hGLDC(hDC), hGLRC(hRC),
mScreenshotRequested(false)

View File

@@ -14,7 +14,6 @@
#include <cstdint>
#include <chrono>
#include <functional>
#include <map>
#include <string>
#include <vector>