aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-lib/pixman-0.21.6/0023-In-delegate_-src-dest-_iter_init-call-delegate-direc.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2011-04-05 13:00:12 +0200
committerSteffen Sledz <sledz@dresearch-fe.de>2011-04-29 14:08:33 +0200
commit384b270989d3f4218c6fc01f8a1e1a61b622c99a (patch)
tree9d0f469880414fad4e13ed93b17d129ef9967223 /recipes/xorg-lib/pixman-0.21.6/0023-In-delegate_-src-dest-_iter_init-call-delegate-direc.patch
parentfadd40e8b90197786aa5edc4a6620036e3aa972e (diff)
downloadopenembedded-384b270989d3f4218c6fc01f8a1e1a61b622c99a.tar.gz
pixman: add 0.21.6 + fixes
Signed-off-by: Koen Kooi <koen@openembedded.org> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/xorg-lib/pixman-0.21.6/0023-In-delegate_-src-dest-_iter_init-call-delegate-direc.patch')
-rw-r--r--recipes/xorg-lib/pixman-0.21.6/0023-In-delegate_-src-dest-_iter_init-call-delegate-direc.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/recipes/xorg-lib/pixman-0.21.6/0023-In-delegate_-src-dest-_iter_init-call-delegate-direc.patch b/recipes/xorg-lib/pixman-0.21.6/0023-In-delegate_-src-dest-_iter_init-call-delegate-direc.patch
new file mode 100644
index 0000000000..96343f185b
--- /dev/null
+++ b/recipes/xorg-lib/pixman-0.21.6/0023-In-delegate_-src-dest-_iter_init-call-delegate-direc.patch
@@ -0,0 +1,54 @@
+From be4eaa0e4f79af38b7b89c5b09ca88d3a88d9396 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= <ssp@redhat.com>
+Date: Sat, 12 Mar 2011 19:06:02 -0500
+Subject: [PATCH 23/40] In delegate_{src,dest}_iter_init() call delegate directly.
+
+There is no reason to go through
+_pixman_implementation_{src,dest}_iter_init(), especially since
+_pixman_implementation_src_iter_init() is doing various other checks
+that only need to be done once.
+
+Also call delegate->src_iter_init() directly in pixman-sse2.c
+---
+ pixman/pixman-implementation.c | 4 ++--
+ pixman/pixman-sse2.c | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/pixman/pixman-implementation.c b/pixman/pixman-implementation.c
+index adaf9c6..892767e 100644
+--- a/pixman/pixman-implementation.c
++++ b/pixman/pixman-implementation.c
+@@ -122,7 +122,7 @@ delegate_src_iter_init (pixman_implementation_t *imp,
+ uint8_t * buffer,
+ iter_flags_t flags)
+ {
+- _pixman_implementation_src_iter_init (
++ imp->delegate->src_iter_init (
+ imp->delegate, iter, image, x, y, width, height, buffer, flags);
+ }
+
+@@ -137,7 +137,7 @@ delegate_dest_iter_init (pixman_implementation_t *imp,
+ uint8_t * buffer,
+ iter_flags_t flags)
+ {
+- _pixman_implementation_dest_iter_init (
++ imp->delegate->dest_iter_init (
+ imp->delegate, iter, image, x, y, width, height, buffer, flags);
+ }
+
+diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c
+index 696005f..d4a34e9 100644
+--- a/pixman/pixman-sse2.c
++++ b/pixman/pixman-sse2.c
+@@ -6013,7 +6013,7 @@ sse2_src_iter_init (pixman_implementation_t *imp,
+ }
+ }
+
+- _pixman_implementation_src_iter_init (
++ imp->delegate->src_iter_init (
+ imp->delegate, iter, image, x, y, width, height, buffer, flags);
+ }
+
+--
+1.6.6.1
+