summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2024-04-19 22:16:35 +0100
committerGitHub <noreply@github.com>2024-04-19 22:16:35 +0100
commitb52a49b4c4c344784b3085cb93d3882d3ce9b4bb (patch)
treea8c3ab6cf77cec5e22565f0f2a3adacfaa6edf30 /src/render
parent1016faea53fd2d6a9bc12340425230b84676d7cd (diff)
tearing-control: hyprland impl (#5655)
* tearing: hl impl * format
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Renderer.hpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/render/Renderer.hpp b/src/render/Renderer.hpp
index bc5ff43c..2e2b8b92 100644
--- a/src/render/Renderer.hpp
+++ b/src/render/Renderer.hpp
@@ -89,18 +89,16 @@ class CHyprRenderer {
DAMAGETRACKINGMODES
damageTrackingModeFromStr(const std::string&);
- bool attemptDirectScanout(CMonitor*);
- void setWindowScanoutMode(CWindow*);
- void initiateManualCrash();
+ bool attemptDirectScanout(CMonitor*);
+ void setWindowScanoutMode(CWindow*);
+ void initiateManualCrash();
- bool m_bCrashingInProgress = false;
- float m_fCrashingDistort = 0.5f;
- wl_event_source* m_pCrashingLoop = nullptr;
- wl_event_source* m_pCursorTicker = nullptr;
+ bool m_bCrashingInProgress = false;
+ float m_fCrashingDistort = 0.5f;
+ wl_event_source* m_pCrashingLoop = nullptr;
+ wl_event_source* m_pCursorTicker = nullptr;
- std::vector<std::unique_ptr<STearingController>> m_vTearingControllers;
-
- CTimer m_tRenderTimer;
+ CTimer m_tRenderTimer;
struct {
int hotspotX;