[Xfce4-commits] [xfce/xfwm4] 01/01: compositor: Reset fence after last operation
noreply at xfce.org
noreply at xfce.org
Mon May 20 21:16:46 CEST 2019
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfwm4.
commit cbd927470e71227a9299a2aea2dee21dd4faf74a
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Sun May 19 20:53:33 2019 +0200
compositor: Reset fence after last operation
Reset the fence after the last buffer access to make sure it's fully and
reliably completed before the next GL buffer swap.
Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
src/compositor.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index d8b361d..54c6ca8 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2293,10 +2293,9 @@ paint_all (ScreenInfo *screen_info, XserverRegion region, gushort buffer)
{
if (screen_info->zoomed)
{
- /* Need to reset the fence here, as we're painting some more */
- fence_reset (screen_info, buffer);
paint_cursor (screen_info, region, paint_buffer);
}
+ fence_reset (screen_info, buffer);
}
else
#endif /* HAVE_EPOXY */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list