Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/cairo/files: cairo-1.10.0-buggy_gradients.patch
Date: Fri, 10 Sep 2010 09:47:54
Message-Id: 20100910094746.235AA2003C@flycatcher.gentoo.org
1 ssuominen 10/09/10 09:47:46
2
3 Added: cairo-1.10.0-buggy_gradients.patch
4 Log:
5 Do not use server-side gradients. It hurts performance, and causes bad rendering on at least nvidia. Bug 336696.
6
7 (Portage version: 2.2_rc78/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch?rev=1.1&content-type=text/plain
14
15 Index: cairo-1.10.0-buggy_gradients.patch
16 ===================================================================
17 http://repos.archlinux.org/wsvn/packages/cairo/trunk/cairo-1.10.0-buggy_gradients.patch
18 http://bugs.gentoo.org/336696
19
20 --- src/cairo-xlib-display.c
21 +++ src/cairo-xlib-display.c
22 @@ -353,11 +353,7 @@
23 /* Prior to Render 0.10, there is no protocol support for gradients and
24 * we call function stubs instead, which would silently consume the drawing.
25 */
26 -#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
27 display->buggy_gradients = TRUE;
28 -#else
29 - display->buggy_gradients = FALSE;
30 -#endif
31 display->buggy_pad_reflect = FALSE;
32 display->buggy_repeat = FALSE;