Hello community,

here is the log from the commit of package xf86-video-intel for 
openSUSE:Factory checked in at 2013-11-28 07:39:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-intel (Old)
 and      /work/SRC/openSUSE:Factory/.xf86-video-intel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xf86-video-intel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-video-intel/xf86-video-intel.changes        
2013-11-26 06:15:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xf86-video-intel.new/xf86-video-intel.changes   
2013-11-28 07:39:58.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Nov 27 16:27:09 CET 2013 - [email protected]
+
+- U_sna-Process-Damage-relative-to-dst-pDrawable-not-its.patch:
+  Fix corrupted output with Emacs and others (bnc#852620)
+
+-------------------------------------------------------------------

New:
----
  U_sna-Process-Damage-relative-to-dst-pDrawable-not-its.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xf86-video-intel.spec ++++++
--- /var/tmp/diff_new_pack.S5Q0Jq/_old  2013-11-28 07:39:58.000000000 +0100
+++ /var/tmp/diff_new_pack.S5Q0Jq/_new  2013-11-28 07:39:58.000000000 +0100
@@ -27,6 +27,7 @@
 Url:            http://xorg.freedesktop.org/
 Source0:        
http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
 Source99:       baselibs.conf
+Patch1:         U_sna-Process-Damage-relative-to-dst-pDrawable-not-its.patch
 
 %if %glamor
 Requires:       glamor
@@ -92,6 +93,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch1 -p1
 
 %build
 autoreconf -fi

++++++ U_sna-Process-Damage-relative-to-dst-pDrawable-not-its.patch ++++++
>From 4194100691347ccec4b1863f3f62987d9286707b Mon Sep 17 00:00:00 2001
From: Chris Wilson <[email protected]>
Date: Mon, 18 Nov 2013 12:33:05 +0000
Subject: [PATCH] sna: Process Damage relative to dst->pDrawable not its
 pixmap->drawable

References: https://bugs.freedesktop.org/show_bug.cgi?id=32734
Signed-off-by: Chris Wilson <[email protected]>
---
 src/sna/sna_composite.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c
index c5e2311c689a..6078d52593fe 100644
--- a/src/sna/sna_composite.c
+++ b/src/sna/sna_composite.c
@@ -902,15 +902,14 @@ sna_composite_rectangles(CARD8             op,
             RegionExtents(&region)->x2, RegionExtents(&region)->y2,
             (long)RegionNumRects(&region)));
 
-       pixmap = get_drawable_pixmap(dst->pDrawable);
-
        /* XXX xserver-1.8: CompositeRects is not tracked by Damage, so we must
         * manually append the damaged regions ourselves.
         *
         * Note that DamageRegionAppend() will apply the drawable-deltas itself.
         */
-       DamageRegionAppend(&pixmap->drawable, &region);
+       DamageRegionAppend(dst->pDrawable, &region);
 
+       pixmap = get_drawable_pixmap(dst->pDrawable);
        if (get_drawable_deltas(dst->pDrawable, pixmap, &dst_x, &dst_y))
                pixman_region_translate(&region, dst_x, dst_y);
 
@@ -1141,7 +1140,7 @@ fallback_composite:
        }
 
 done:
-       DamageRegionProcessPending(&pixmap->drawable);
+       DamageRegionProcessPending(dst->pDrawable);
 
 cleanup_region:
        pixman_region_fini(&region);
-- 
1.8.4.4

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to