debian/changelog | 10 +++++ debian/patches/02-clamp-to-edge.patch | 65 ++++++++++++++++++++++++++++++++++ debian/patches/series | 1 debian/watch | 2 - 4 files changed, 76 insertions(+), 2 deletions(-)
New commits: commit 7557c8469ff09ad64838ad4ad78510064c7e94ec Author: Maarten Lankhorst <maarten.lankho...@canonical.com> Date: Thu Oct 4 14:02:03 2012 +0200 Add upstream exa rendering fix (FDo: #55310) diff --git a/debian/changelog b/debian/changelog index 80893a4..048bfcd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +xserver-xorg-video-nouveau (1:1.0.2-0ubuntu3) UNRELEASED; urgency=low + + * Add upstream exa rendering fix (FDo: #55310) + - 02-clamp-to-edge.patch + + -- Maarten Lankhorst <maarten.lankho...@canonical.com> Thu, 04 Oct 2012 14:00:08 +0200 + xserver-xorg-video-nouveau (1:1.0.2-0ubuntu2) quantal; urgency=low [ Maarten Lankhorst ] commit 236873ec98ac15fbc9a99fd9f38e7831a6285868 Author: Maarten Lankhorst <maarten.lankho...@canonical.com> Date: Thu Oct 4 13:56:09 2012 +0200 add upstream 02-clamp-to-edge.patch to fix a exa rendering error diff --git a/debian/changelog b/debian/changelog index 9aded55..b1de9c4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,9 @@ xserver-xorg-video-nouveau (1:1.0.2-1) UNRELEASED; urgency=low [ Timo Aaltonen ] * watch: Use the .gz tarball, and update the url. + [ Maarten Lankhorst ] + * add upstream 02-clamp-to-edge.patch to fix a exa rendering error + -- Maarten Lankhorst <maarten.lankho...@canonical.com> Mon, 16 Jul 2012 15:22:19 +0200 xserver-xorg-video-nouveau (1:1.0.1-3) unstable; urgency=low diff --git a/debian/patches/02-clamp-to-edge.patch b/debian/patches/02-clamp-to-edge.patch new file mode 100644 index 0000000..cdcf5d5 --- /dev/null +++ b/debian/patches/02-clamp-to-edge.patch @@ -0,0 +1,65 @@ +commit 5c9379b14cdabc81fd5d4c916dcd93dc77c4f683 +Author: Sebastian Keller <sebastian-kel...@gmx.de> +Date: Tue Sep 25 11:35:35 2012 +0200 + + exa: use CLAMP_TO_EDGE for RepeatPad + + This fixes border rendering in some gtk3 themes. + https://bugs.freedesktop.org/show_bug.cgi?id=55310 + + v2 (Ben Skeggs): implement same fix for fermi/kepler too + + Signed-off-by: Sebastian Keller <sebastian-kel...@gmx.de> + Signed-off-by: Ben Skeggs <bske...@redhat.com> + +diff --git a/src/nv40_exa.c b/src/nv40_exa.c +index 87ed5b2..c9e99e0 100644 +--- a/src/nv40_exa.c ++++ b/src/nv40_exa.c +@@ -260,9 +260,9 @@ NV40EXAPictTexture(NVPtr pNv, PixmapPtr pPix, PicturePtr pPict, int unit) + if (pPict->repeat) { + switch(pPict->repeatType) { + case RepeatPad: +- PUSH_DATA (push, NV30_3D_TEX_WRAP_S_CLAMP | +- NV30_3D_TEX_WRAP_T_CLAMP | +- NV30_3D_TEX_WRAP_R_CLAMP); ++ PUSH_DATA (push, NV30_3D_TEX_WRAP_S_CLAMP_TO_EDGE | ++ NV30_3D_TEX_WRAP_T_CLAMP_TO_EDGE | ++ NV30_3D_TEX_WRAP_R_CLAMP_TO_EDGE); + break; + case RepeatReflect: + PUSH_DATA (push, NV30_3D_TEX_WRAP_S_MIRRORED_REPEAT | +diff --git a/src/nv50_exa.c b/src/nv50_exa.c +index d6f38eb..e70d92d 100644 +--- a/src/nv50_exa.c ++++ b/src/nv50_exa.c +@@ -665,9 +665,9 @@ NV50EXAPictTexture(NVPtr pNv, PixmapPtr ppix, PicturePtr ppict, unsigned unit) + if (ppict->repeat) { + switch (ppict->repeatType) { + case RepeatPad: +- PUSH_DATA (push, NV50TSC_1_0_WRAPS_CLAMP | +- NV50TSC_1_0_WRAPT_CLAMP | +- NV50TSC_1_0_WRAPR_CLAMP | 0x00024000); ++ PUSH_DATA (push, NV50TSC_1_0_WRAPS_CLAMP_TO_EDGE | ++ NV50TSC_1_0_WRAPT_CLAMP_TO_EDGE | ++ NV50TSC_1_0_WRAPR_CLAMP_TO_EDGE | 0x00024000); + break; + case RepeatReflect: + PUSH_DATA (push, NV50TSC_1_0_WRAPS_MIRROR_REPEAT | +diff --git a/src/nvc0_exa.c b/src/nvc0_exa.c +index dc8ba0b..7bd7294 100644 +--- a/src/nvc0_exa.c ++++ b/src/nvc0_exa.c +@@ -659,9 +659,9 @@ NVC0EXAPictTexture(NVPtr pNv, PixmapPtr ppix, PicturePtr ppict, unsigned unit) + switch (ppict->repeatType) { + case RepeatPad: + PUSH_DATA (push, 0x00024000 | +- NV50TSC_1_0_WRAPS_CLAMP | +- NV50TSC_1_0_WRAPT_CLAMP | +- NV50TSC_1_0_WRAPR_CLAMP); ++ NV50TSC_1_0_WRAPS_CLAMP_TO_EDGE | ++ NV50TSC_1_0_WRAPT_CLAMP_TO_EDGE | ++ NV50TSC_1_0_WRAPR_CLAMP_TO_EDGE); + break; + case RepeatReflect: + PUSH_DATA (push, 0x00024000 | diff --git a/debian/patches/series b/debian/patches/series index d6892cf..feaa065 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 01-set-NV_DRIVER_DATE-from-ChangeLog.diff +02-clamp-to-edge.patch commit 00766ed49b5a189182e81adac8b4bdfe1c03b714 Author: Sven Joachim <svenj...@gmx.de> Date: Wed Sep 12 18:22:50 2012 +0200 watch: Remove outdated misleading comment diff --git a/debian/watch b/debian/watch index d20b1b5..0293126 100644 --- a/debian/watch +++ b/debian/watch @@ -1,5 +1,3 @@ #git=git://anongit.freedesktop.org/nouveau/xf86-video-nouveau version=3 -# Only a bzip2 tarball is currently available -- you need to -# use uscan's --repack option http://xorg.freedesktop.org/releases/individual/driver/ xf86-video-nouveau-(.+)\.tar\.gz -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1tjk7z-0001vk...@vasks.debian.org