diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-06 21:06:15 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-07 14:49:48 +0100 |
commit | 7efd71616ec5efedbe626a986a707c35d3cac323 (patch) | |
tree | 0223e8271d9d18763efd743f43f98b8b8b9e5c2e /gfx/cairo/pixman-component-alpha.patch | |
parent | bbc2206a0fda053a6f5071b457bd209dab9ed268 (diff) | |
download | UXP-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/pixman-component-alpha.patch')
-rw-r--r-- | gfx/cairo/pixman-component-alpha.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/gfx/cairo/pixman-component-alpha.patch b/gfx/cairo/pixman-component-alpha.patch deleted file mode 100644 index f6a6f4a95..000000000 --- a/gfx/cairo/pixman-component-alpha.patch +++ /dev/null @@ -1,34 +0,0 @@ -commit d14b8c688f4cbe6c9289955d9ce7257c07869f9e -Author: Jeff Muizelaar <jmuizelaar@mozilla.com> -Date: Wed May 6 10:19:04 2009 -0400 - - create getter for component alpha - -diff --git a/gfx/cairo/libpixman/src/pixman-image.c b/gfx/cairo/libpixman/src/pixman-image.c -index e80c479..2c49f92 100644 ---- a/gfx/cairo/libpixman/src/pixman-image.c -+++ b/gfx/cairo/libpixman/src/pixman-image.c -@@ -563,6 +563,11 @@ pixman_image_set_component_alpha (pixman_image_t *image, - image->common.component_alpha = component_alpha; - } - -+PIXMAN_EXPORT pixman_bool_t -+pixman_image_get_component_alpha (pixman_image_t *image) -+{ -+ return image->common.component_alpha; -+} - - PIXMAN_EXPORT void - pixman_image_set_accessors (pixman_image_t *image, -diff --git a/gfx/cairo/libpixman/src/pixman.h b/gfx/cairo/libpixman/src/pixman.h -index 49c39d5..522a866 100644 ---- a/gfx/cairo/libpixman/src/pixman.h -+++ b/gfx/cairo/libpixman/src/pixman.h -@@ -767,6 +767,7 @@ void pixman_image_set_alpha_map (pixman_image_t - int16_t y); - void pixman_image_set_component_alpha (pixman_image_t *image, - pixman_bool_t component_alpha); -+pixman_bool_t pixman_image_get_component_alpha (pixman_image_t *image); - void pixman_image_set_accessors (pixman_image_t *image, - pixman_read_memory_func_t read_func, - pixman_write_memory_func_t write_func); |