Hyprland/src/render/Renderer.hpp

21 lines
586 B
C++
Raw Normal View History

2022-03-17 20:22:29 +01:00
#pragma once
#include "../defines.hpp"
2022-03-19 14:37:40 +01:00
#include <list>
#include "../helpers/Monitor.hpp"
2022-03-19 16:13:19 +01:00
#include "../Window.hpp"
2022-03-17 20:22:29 +01:00
class CHyprRenderer {
public:
void renderAllClientsForMonitor(const int&, timespec*);
2022-03-19 14:07:18 +01:00
void outputMgrApplyTest(wlr_output_configuration_v1*, bool);
2022-03-19 14:37:40 +01:00
void arrangeLayersForMonitor(const int&);
2022-03-17 20:22:29 +01:00
private:
2022-03-19 14:37:40 +01:00
void arrangeLayerArray(SMonitor*, const std::list<SLayerSurface*>&);
2022-03-19 16:13:19 +01:00
void drawBorderForWindow(CWindow*, SMonitor*);
2022-03-17 20:22:29 +01:00
};
inline std::unique_ptr<CHyprRenderer> g_pHyprRenderer;