renderer: only commit hw cursor stuff if needed (#9654)

This commit is contained in:
Ikalco 2025-03-17 16:06:41 -05:00 committed by GitHub
parent c4f46473df
commit 5f60fc7d00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 29 additions and 5 deletions

View file

@ -158,6 +158,7 @@ class CMonitor {
// for direct scanout
PHLWINDOWREF lastScanout;
bool scanoutNeedsCursorUpdate = false;
struct {
bool canTear = false;