summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2011-09-19 09:08:33 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2011-09-19 09:08:33 -0400
commitd842669a467be490bb0a40000d0c0fccea0b1b85 (patch)
tree6e02bdc59f181362372db76078513d604142b23e
parent3432e1a3444a55f71e294da7d350957a8e1232c3 (diff)
A few tweaks to a comment in pixman-combine.c.template
Include a link to http://marc.info/?l=xfree-render&m=99792000027857&w=2 where Keith explains how the disjoint/conjoint operators work.
-rw-r--r--pixman/pixman-combine.c.template7
1 files changed, 4 insertions, 3 deletions
diff --git a/pixman/pixman-combine.c.template b/pixman/pixman-combine.c.template
index 806a184..c17bcea 100644
--- a/pixman/pixman-combine.c.template
+++ b/pixman/pixman-combine.c.template
@@ -1143,9 +1143,7 @@ PDF_NON_SEPARABLE_BLEND_MODE (hsl_luminosity)
#undef CH_MIN
#undef PDF_NON_SEPARABLE_BLEND_MODE
-/* Overlay
- *
- * All of the disjoint composing functions
+/* All of the disjoint/conjoint composing functions
*
* The four entries in the first column indicate what source contributions
* come from each of the four areas of the picture -- areas covered by neither
@@ -1166,6 +1164,9 @@ PDF_NON_SEPARABLE_BLEND_MODE (hsl_luminosity)
* (0,0,B,A) max(1-(1-b)/a,0) min(1,(1-a)/b) min(1,b/a) max(1-a/b,0)
* (0,A,0,B) min(1,(1-b)/a) max(1-(1-a)/b,0) max(1-b/a,0) min(1,a/b)
* (0,A,B,0) min(1,(1-b)/a) min(1,(1-a)/b) max(1-b/a,0) max(1-a/b,0)
+ *
+ * See http://marc.info/?l=xfree-render&m=99792000027857&w=2 for more
+ * information about these operators.
*/
#define COMBINE_A_OUT 1