Pacing problems
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user