internal: migrate to damage_ring

This commit is contained in:
vaxerski
2023-04-07 12:18:40 +01:00
parent 569eaff04c
commit 24ace03780
3 changed files with 27 additions and 12 deletions

View File

@@ -12,6 +12,9 @@ struct SMonitorRule;
class CMonitor {
public:
CMonitor();
~CMonitor();
Vector2D vecPosition = Vector2D(-1, -1); // means unset
Vector2D vecSize = Vector2D(0, 0);
Vector2D vecPixelSize = Vector2D(0, 0);
@@ -29,9 +32,9 @@ class CMonitor {
Vector2D vecReservedBottomRight = Vector2D(0, 0);
// WLR stuff
wlr_damage_ring damage;
wlr_output* output = nullptr;
float refreshRate = 60;
wlr_output_damage* damage = nullptr;
int framesToSkip = 0;
int forceFullFrames = 0;
bool noFrameSchedule = false;