diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-05-03 13:24:58 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-05-28 13:26:21 -0400 |
commit | 6d4cfabfa17a03e950d611e33f9353c19b1c32d2 (patch) | |
tree | e1e7f08386d6f5e0352bc6395fc61a8da6793c13 | |
parent | fc53e16f6e925802de622f0ed3d81529b2227f43 (diff) |
asdf
-rw-r--r-- | pixman/pixman-glyph.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pixman/pixman-glyph.c b/pixman/pixman-glyph.c index e9903d05..3b38986e 100644 --- a/pixman/pixman-glyph.c +++ b/pixman/pixman-glyph.c @@ -555,6 +555,8 @@ pixman_composite_glyphs (pixman_op_t op, return; } + printf ("Created mask %p: %d %d\n", mask, mask_width, mask_height); + if (PIXMAN_FORMAT_A (mask_format) != 0 && PIXMAN_FORMAT_RGB (mask_format) != 0) { @@ -563,11 +565,19 @@ pixman_composite_glyphs (pixman_op_t op, add_glyphs (cache, mask, - extents.x1, - extents.y1, n_glyphs, glyphs); + printf ("Compositing through mask %p, %d %d, 0, 0, %d %d (%d %d) asdf\n", + mask, + src_x + extents.x1, src_y + extents.y1, + dest_x + extents.x1, dest_y + extents.y1, + mask_width, mask_height); + pixman_image_composite32 (op, src, mask, dest, - src_x + extents.x1, src_y + extents.y1, + src_x - dest_x, + src_y - dest_y, + - dest_x - extents.x1, + - dest_y - extents.y1, 0, 0, - dest_x + extents.x1, dest_y + extents.y1, - mask_width, mask_height); + dest->bits.width, dest->bits.height); pixman_image_unref (mask); } |