summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/pixman-component-alpha.patch
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /gfx/cairo/pixman-component-alpha.patch
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'gfx/cairo/pixman-component-alpha.patch')
-rw-r--r--gfx/cairo/pixman-component-alpha.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/gfx/cairo/pixman-component-alpha.patch b/gfx/cairo/pixman-component-alpha.patch
new file mode 100644
index 000000000..f6a6f4a95
--- /dev/null
+++ b/gfx/cairo/pixman-component-alpha.patch
@@ -0,0 +1,34 @@
+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);