From a4246d79d968e430cc8f440fe97adc3808c0ae61 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Tue, 21 May 2024 12:06:26 -0700 Subject: [PATCH] WIP --- src/wayland/drm_syncobj/mod.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wayland/drm_syncobj/mod.rs b/src/wayland/drm_syncobj/mod.rs index a67c77e4c296..e436c9d71be5 100644 --- a/src/wayland/drm_syncobj/mod.rs +++ b/src/wayland/drm_syncobj/mod.rs @@ -42,14 +42,12 @@ pub struct DrmSyncobjCachedState { impl Cacheable for DrmSyncobjCachedState { fn commit(&mut self, _dh: &DisplayHandle) -> Self { Self { - // TODO should take acquire/release points? - acquire_point: None, - release_point: None, + acquire_point: self.acquire_point.take(), + release_point: self.release_point.take(), } } fn merge_into(self, into: &mut Self, _dh: &DisplayHandle) { - // TODO signa; release points if self.acquire_point.is_some() && self.release_point.is_some() { if let Some(release_point) = &into.release_point { if let Err(err) = release_point.signal() {