render: properly release rendered buffers (#9807)
* cleanup eglSync * properly release buffers in renderer * add renderingDoneCallback and use it in screencopy * use static constructor for CEGLSync
This commit is contained in:
parent
5d005f11fa
commit
2ee5118d7a
14 changed files with 119 additions and 161 deletions
|
|
@ -139,10 +139,7 @@ class CMonitor {
|
|||
SMonitorRule activeMonitorRule;
|
||||
|
||||
// explicit sync
|
||||
SP<CSyncTimeline> inTimeline;
|
||||
Hyprutils::OS::CFileDescriptor inFence;
|
||||
SP<CEGLSync> eglSync;
|
||||
uint64_t inTimelinePoint = 0;
|
||||
Hyprutils::OS::CFileDescriptor inFence; // TODO: remove when aq uses CFileDescriptor
|
||||
|
||||
PHLMONITORREF self;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue