diff options
| author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
|---|---|---|
| committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
| commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
| tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/libmatchbox/files/16bppfixes.patch | |
| parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) | |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/libmatchbox/files/16bppfixes.patch')
| -rw-r--r-- | packages/libmatchbox/files/16bppfixes.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/packages/libmatchbox/files/16bppfixes.patch b/packages/libmatchbox/files/16bppfixes.patch deleted file mode 100644 index 09a0347809..0000000000 --- a/packages/libmatchbox/files/16bppfixes.patch +++ /dev/null @@ -1,36 +0,0 @@ -Index: libmb/mbpixbuf.c -=================================================================== ---- libmatchbox/libmb.orig/mbpixbuf.c 2006-02-01 12:45:55.000000000 +0000 -+++ libmatchbox/libmb/mbpixbuf.c 2006-03-11 15:20:47.000000000 +0000 -@@ -716,7 +716,13 @@ - case 15: - return ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | ((b & 0xf8) >> 3); - case 16: -- return ((r & 0xf8) << 8) | ((g & 0xfc) << 3) | ((b & 0xf8) >> 3); -+ switch (pb->byte_order) -+ { -+ case BYTE_ORD_24_RGB: -+ return ((r & 0xf8) << 8) | ((g & 0xfc) << 3) | ((b & 0xf8) >> 3); -+ case BYTE_ORD_24_BGR: -+ return ((b & 0xf8) << 8) | ((g & 0xfc) << 3) | ((r & 0xf8) >> 3); -+ } - case 24: - case 32: - switch (pb->byte_order) -@@ -1880,12 +1886,11 @@ - for(y=0; y<img->height; y++) - for(x=0; x<img->width; x++) - { -- /* Below is potentially dangerous. -- */ -- pixel = ( *p | (*(p+1) << 8)); -+ internal_16bpp_pixel_to_rgb(p, r, g, b); -+ internal_16bpp_pixel_next(p); -+ a = ((img->has_alpha) ? *p++ : 0xff); - -- p += ((img->has_alpha) ? 3 : 2); -- -+ pixel = mb_pixbuf_get_pixel(pb, r, g, b, a); - XPutPixel(img->ximg, x, y, pixel); - } - } |
