summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/handle-a1.patch
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-06 21:06:15 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-07 14:49:48 +0100
commit7efd71616ec5efedbe626a986a707c35d3cac323 (patch)
tree0223e8271d9d18763efd743f43f98b8b8b9e5c2e /gfx/cairo/handle-a1.patch
parentbbc2206a0fda053a6f5071b457bd209dab9ed268 (diff)
downloadUXP-7efd71616ec5efedbe626a986a707c35d3cac323.tar
UXP-7efd71616ec5efedbe626a986a707c35d3cac323.tar.gz
UXP-7efd71616ec5efedbe626a986a707c35d3cac323.tar.lz
UXP-7efd71616ec5efedbe626a986a707c35d3cac323.tar.xz
UXP-7efd71616ec5efedbe626a986a707c35d3cac323.zip
Issue #1274 - Part 1: Adopt the cairo version as our own.
- Move header licensing from tri-license to MPL 2.0. MPL-compatible other licensing has been retained where originally present. - Remove individual superseded licensing terms. - Remove patches, outdated readmes & incomplete patch summaries. - Remove incomplete cairo release notes (only went up to 1.6.4 anyway). - Rewrite COPYING to indicate the current state of the library in tree.
Diffstat (limited to 'gfx/cairo/handle-a1.patch')
-rw-r--r--gfx/cairo/handle-a1.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/gfx/cairo/handle-a1.patch b/gfx/cairo/handle-a1.patch
deleted file mode 100644
index eaad3d69e..000000000
--- a/gfx/cairo/handle-a1.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-commit 82aab44a9005047743538d52e9fbc27fd6ce408a
-Author: Chris Wilson <chris@chris-wilson.co.uk>
-Date: Fri Mar 19 17:23:20 2010 -0400
-
- commit f07195860620959c27d43080a7b987e28222735a
-
- xlib: Handle a1 image uploads through converter
-
- Fixes test/large-source [xlib]
-
-diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
-index 1a053d0..8f773b0 100644
---- a/src/cairo-xlib-surface.c
-+++ b/src/cairo-xlib-surface.c
-@@ -1155,7 +1155,9 @@ _draw_image_surface (cairo_xlib_surface_t *surface,
- int dither_adjustment = dither_row[x_off];
- int a, r, g, b;
-
-- if (image_masks.bpp <= 8)
-+ if (image_masks.bpp == 1)
-+ in_pixel = !! (((uint8_t*)row)[x/8] & (1 << (x & 7)));
-+ else if (image_masks.bpp <= 8)
- in_pixel = ((uint8_t*)row)[x];
- else if (image_masks.bpp <= 16)
- in_pixel = ((uint16_t*)row)[x];