mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
BaseRenderer(ThreadsCommutator::ThreadName name, Params const & params);
|
||||
|
||||
bool CanReceiveMessages();
|
||||
|
||||
|
||||
void IterateRenderLoop();
|
||||
|
||||
void SetRenderingEnabled(ref_ptr<dp::GraphicsContextFactory> contextFactory);
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
|
||||
bool IsRenderingEnabled() const;
|
||||
|
||||
dp::ApiVersion GetApiVersion() const { return m_apiVersion; };
|
||||
dp::ApiVersion GetApiVersion() const { return m_apiVersion; }
|
||||
|
||||
protected:
|
||||
dp::ApiVersion m_apiVersion;
|
||||
@@ -67,9 +67,9 @@ protected:
|
||||
void CreateContext();
|
||||
|
||||
void CheckRenderingEnabled();
|
||||
|
||||
|
||||
virtual std::unique_ptr<threads::IRoutine> CreateRoutine() = 0;
|
||||
|
||||
|
||||
virtual void RenderFrame() = 0;
|
||||
|
||||
virtual void OnContextCreate() = 0;
|
||||
@@ -80,7 +80,7 @@ protected:
|
||||
|
||||
private:
|
||||
using TCompletionHandler = std::function<void()>;
|
||||
|
||||
|
||||
void IterateRenderLoopImpl();
|
||||
|
||||
threads::Thread m_selfThread;
|
||||
|
||||
Reference in New Issue
Block a user