screencopy, render: Use explicit sync for screencopy (#9697)

* screencopy, render: Use explicit sync for screencopy

* screencopy: Check if explicit sync is enabled

* screencopy: Don't require explicit KMS enabled
This commit is contained in:
Lee Bousfield
2025-03-22 11:01:14 -05:00
committed by GitHub
parent ccbdba7ee2
commit 279b06044c
6 changed files with 62 additions and 51 deletions

View File

@@ -140,10 +140,9 @@ class CMonitor {
// explicit sync
SP<CSyncTimeline> inTimeline;
SP<CSyncTimeline> outTimeline;
Hyprutils::OS::CFileDescriptor inFence;
SP<CEGLSync> eglSync;
uint64_t commitSeq = 0;
uint64_t inTimelinePoint = 0;
PHLMONITORREF self;