Renderer: add init animation

This commit is contained in:
vaxerski
2023-05-01 02:49:41 +01:00
parent 11e87986a2
commit ddfeebad3d
4 changed files with 39 additions and 12 deletions

View File

@@ -6,6 +6,7 @@
#include "../helpers/Workspace.hpp"
#include "../Window.hpp"
#include "OpenGL.hpp"
#include "../helpers/Timer.hpp"
struct SMonitorRule;
@@ -69,6 +70,8 @@ class CHyprRenderer {
float m_fCrashingDistort = 0.5f;
wl_event_source* m_pCrashingLoop = nullptr;
CTimer m_tRenderTimer;
private:
void arrangeLayerArray(CMonitor*, const std::vector<std::unique_ptr<SLayerSurface>>&, bool, wlr_box*);
void renderWorkspaceWithFullscreenWindow(CMonitor*, CWorkspace*, timespec*);