renderer: minor direct scanout fixes (#7594)

This commit is contained in:
Ikalco
2024-08-31 08:07:52 -05:00
committed by GitHub
parent 76b82fdde7
commit 838ed87d6f
3 changed files with 23 additions and 4 deletions

View File

@@ -100,7 +100,8 @@ class CMonitor {
std::optional<Vector2D> forceSize;
SP<Aquamarine::SOutputMode> currentMode;
SP<Aquamarine::CSwapchain> cursorSwapchain;
uint32_t drmFormat = DRM_FORMAT_INVALID;
uint32_t drmFormat = DRM_FORMAT_INVALID;
uint32_t prevDrmFormat = DRM_FORMAT_INVALID;
bool dpmsStatus = true;
bool vrrActive = false; // this can be TRUE even if VRR is not active in the case that this display does not support it.