diff options
| author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-09-14 10:41:25 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-09-14 10:41:25 +0000 |
| commit | 33f82b3d2f994d2c32d77b05ef496c502b2821bb (patch) | |
| tree | 4cb0859ba775130a1dc5fe4d62364a7f53d00de5 /meta | |
| parent | f976627e04d68a1fde997f47896a02364d1de852 (diff) | |
| download | poky-33f82b3d2f994d2c32d77b05ef496c502b2821bb.tar.gz | |
pixman: added 0.9.5 from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2735 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/packages/xorg-lib/pixman-0.9.5/dont-copy-unused-bits-to-alpha-channel.patch | 29 | ||||
| -rw-r--r-- | meta/packages/xorg-lib/pixman_0.9.5.bb | 6 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/pixman-0.9.5/dont-copy-unused-bits-to-alpha-channel.patch b/meta/packages/xorg-lib/pixman-0.9.5/dont-copy-unused-bits-to-alpha-channel.patch new file mode 100644 index 0000000000..05fe829a82 --- /dev/null +++ b/meta/packages/xorg-lib/pixman-0.9.5/dont-copy-unused-bits-to-alpha-channel.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From: Carl Worth <cworth@cworth.org> | ||
| 2 | |||
| 3 | Don't copy unused bits to an alpha channel | ||
| 4 | |||
| 5 | This bug was identified by cairo's rgb24-ignore-alpha test which | ||
| 6 | blends RGB24 over ARGB32 and notices that "alpha" values are | ||
| 7 | making it from the source to the destination. | ||
| 8 | |||
| 9 | Index: a/pixman/pixman-pict.c | ||
| 10 | =================================================================== | ||
| 11 | --- a/pixman/pixman-pict.c b8b7b767b3ed1fc57ba177c38187e1eb3daf4de8 | ||
| 12 | +++ b/pixman/pixman-pict.c c7d73fc532c2da313041906ac0f48dba1b10d3bc | ||
| 13 | @@ -1778,7 +1778,6 @@ pixman_image_composite (pixman_op_t | ||
| 14 | break; | ||
| 15 | case PIXMAN_x8r8g8b8: | ||
| 16 | switch (pDst->bits.format) { | ||
| 17 | - case PIXMAN_a8r8g8b8: | ||
| 18 | case PIXMAN_x8r8g8b8: | ||
| 19 | #ifdef USE_MMX | ||
| 20 | if (pixman_have_mmx()) | ||
| 21 | @@ -1790,7 +1789,6 @@ pixman_image_composite (pixman_op_t | ||
| 22 | } | ||
| 23 | case PIXMAN_x8b8g8r8: | ||
| 24 | switch (pDst->bits.format) { | ||
| 25 | - case PIXMAN_a8b8g8r8: | ||
| 26 | case PIXMAN_x8b8g8r8: | ||
| 27 | #ifdef USE_MMX | ||
| 28 | if (pixman_have_mmx()) | ||
| 29 | |||
diff --git a/meta/packages/xorg-lib/pixman_0.9.5.bb b/meta/packages/xorg-lib/pixman_0.9.5.bb new file mode 100644 index 0000000000..5183084167 --- /dev/null +++ b/meta/packages/xorg-lib/pixman_0.9.5.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require xorg-lib-common.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "Library for lowlevel pixel operations" | ||
| 4 | DEPENDS = "virtual/libx11" | ||
| 5 | |||
| 6 | SRC_URI += "file://dont-copy-unused-bits-to-alpha-channel.patch;patch=1" | ||
