r30646 - in /packages/unstable/mutter/debian: changelog patches/00git-dont-lose-application-redraws.patch patches/series

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Mon Oct 17 06:44:15 UTC 2011


Author: hertzog
Date: Mon Oct 17 06:44:14 2011
New Revision: 30646

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=30646
Log:
Add 00git-dont-lose-application-redraws.patch to fix rendering issues with parts of the screen not showing the latest content.

Added:
    packages/unstable/mutter/debian/patches/00git-dont-lose-application-redraws.patch
Modified:
    packages/unstable/mutter/debian/changelog
    packages/unstable/mutter/debian/patches/series

Modified: packages/unstable/mutter/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/mutter/debian/changelog?rev=30646&op=diff
==============================================================================
--- packages/unstable/mutter/debian/changelog [utf-8] (original)
+++ packages/unstable/mutter/debian/changelog [utf-8] Mon Oct 17 06:44:14 2011
@@ -1,3 +1,13 @@
+mutter (3.0.2.1-4) unstable; urgency=high
+
+  * Team upload. Urgency high as that problem already affects testing
+    users.
+  * debian/patches:
+    - Add 00git-dont-lose-application-redraws.patch to fix rendering
+      issues with parts of the screen not showing the latest content.
+
+ -- Raphaël Hertzog <hertzog at debian.org>  Mon, 17 Oct 2011 08:37:50 +0200
+
 mutter (3.0.2.1-3) unstable; urgency=low
 
   [ Rico Tzschichholz ]

Added: packages/unstable/mutter/debian/patches/00git-dont-lose-application-redraws.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/mutter/debian/patches/00git-dont-lose-application-redraws.patch?rev=30646&op=file
==============================================================================
--- packages/unstable/mutter/debian/patches/00git-dont-lose-application-redraws.patch (added)
+++ packages/unstable/mutter/debian/patches/00git-dont-lose-application-redraws.patch [utf-8] Mon Oct 17 06:44:14 2011
@@ -1,0 +1,41 @@
+From: Owen W. Taylor <otaylor at fishsoup.net>
+Subject: Don't lose application redraws
+
+Our usage of DamageReportBoundingBox was causing us to miss some
+updates when an area of the screen was drawn twice in rapid
+succession. Add an explicit XSync() call to force the server
+to flush rendering to the kernel before we draw.
+
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=657071
+Origin: upstream, http://git.gnome.org/browse/mutter/commit/?id=2dc5693c60a2952fdb703098c5e50d80eb976f86
+---
+--- a/src/compositor/meta-window-actor.c
++++ b/src/compositor/meta-window-actor.c
+@@ -2107,6 +2107,27 @@ meta_window_actor_pre_paint (MetaWindowA
+       meta_error_trap_push (display);
+       XDamageSubtract (xdisplay, priv->damage, None, None);
+       meta_error_trap_pop (display);
++
++      /* We need to make sure that any X drawing that happens before the
++       * XDamageSubtract() above is visible to subsequent GL rendering;
++       * the only standardized way to do this is EXT_x11_sync_object,
++       * which isn't yet widely available. For now, we count on details
++       * of Xorg and the open source drivers, and hope for the best
++       * otherwise.
++       *
++       * Xorg and open source driver specifics:
++       *
++       * The X server makes sure to flush drawing to the kernel before
++       * sending out damage events, but since we use DamageReportBoundingBox
++       * there may be drawing between the last damage event and the
++       * XDamageSubtract() that needs to be flushed as well.
++       *
++       * Xorg always makes sure that drawing is flushed to the kernel
++       * before writing events or responses to the client, so any round trip
++       * request at this point is sufficient to flush the GLX buffers.
++       */
++      XSync (xdisplay, False);
++
+       priv->received_damage = FALSE;
+     }
+ 

Modified: packages/unstable/mutter/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/mutter/debian/patches/series?rev=30646&op=diff
==============================================================================
--- packages/unstable/mutter/debian/patches/series [utf-8] (original)
+++ packages/unstable/mutter/debian/patches/series [utf-8] Mon Oct 17 06:44:14 2011
@@ -1,3 +1,4 @@
 00git-meta-window-group-Use-clutter_stage_get_redraw_clip_.patch
 00git-Use-a-utility-function-to-create-GL_ARB_texture_rect.patch
+00git-dont-lose-application-redraws.patch
 01_Wcast-align.patch




More information about the pkg-gnome-commits mailing list