summaryrefslogtreecommitdiff
path: root/src/render/Renderer.hpp
blob: b6172ce87c40eeb7603e26c51976ff58bf05f031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "../defines.hpp"
#include <list>
#include "../helpers/Monitor.hpp"
#include "../Window.hpp"

class CHyprRenderer {
public:

    void                renderAllClientsForMonitor(const int&, timespec*);
    void                outputMgrApplyTest(wlr_output_configuration_v1*, bool);
    void                arrangeLayersForMonitor(const int&);

private:
    void                arrangeLayerArray(SMonitor*, const std::list<SLayerSurface*>&);
    void                drawBorderForWindow(CWindow*, SMonitor*);
};

inline std::unique_ptr<CHyprRenderer> g_pHyprRenderer;