[cairo] glitz surface fixes

sunmoon1997 sunmoon1997 at gmail.com
Fri Dec 23 07:04:22 PST 2005

Great work, but the rotate_source_surface_paint test I post a few days
before still fails here, could you show some light on this test?
在 2005-12-23五的 13:44 +0100,Vladimir Vukicevic写道:
> The attached patch fixes the cairo glitz surface; the culprit seemed
> to be that glitz (now?) applies the clip region when glitz_get_pixels
> is called; this is not what acquire_*_image expects, and so bad
> results happen in both writing a png out from a glitz surface, and any
> fallback paths that have to be taken that require pixman compositing.
> There's also a patch to the image surface, which attempts to find a
> standard pixman format given a set of masks.  This is necessary so
> that the generic cairo_surface_write_to_png() will work with glitz
> surfaces; glitz surfaces use _cairo_image_surface_create_with_masks()
> to create an image surface, and the png code would bail because it
> didn't recognize the cairo_format_t.
> All tests pass except for two -- there's a problem with unbounded
> operators and glyph rendering, and self-copy also fails.  (The
> unantialiased rendering tests also fail; I think the fix there is to
> just use a fallback path if non-AA rendering is desired.)  A number of
> tests pass but are marked as fails; there are a lot of different
> pixels (especially in rendered gradients), but the results are
> actually correct.  Not sure what to do about this in the test
> framework; there may be a need for per-backend reference images.
> David, Carl, is it ok to commit this if it looks correct?
>     - Vlad
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?=
Url : http://lists.freedesktop.org/archives/cairo/attachments/20051223/7eae5188/attachment.pgp

More information about the cairo mailing list