Pacing problems
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-06 11:31:48 +10:00
parent 2317a80ce5
commit d2ac369fdc
5 changed files with 178 additions and 17 deletions

View File

@@ -60,6 +60,9 @@
#include <functional>
#include <map>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <vector>
#include <deque>
@@ -119,10 +122,21 @@ private:
std::unique_ptr<OpenGLShaderPrograms> mShaderPrograms;
std::unique_ptr<ControlServer> mControlServer;
std::unique_ptr<OscServer> mOscServer;
std::thread mRuntimePollThread;
std::atomic<bool> mRuntimePollRunning;
std::atomic<bool> mRuntimeRegistryChanged;
std::atomic<bool> mRuntimeReloadRequested;
std::atomic<bool> mRuntimePollFailed;
std::mutex mRuntimePollErrorMutex;
std::string mRuntimePollError;
std::vector<RuntimeRenderState> mCachedLayerRenderStates;
bool InitOpenGLState();
void renderEffect();
bool PollRuntimeChanges();
void StartRuntimePolling();
void StopRuntimePolling();
void RuntimePollLoop();
bool ProcessRuntimePollResults();
void broadcastRuntimeState();
void resetTemporalHistoryState();
};