[cairo] Supersampling - 1st attempt

Krzysztof Kosiński tweenk.pl at gmail.com
Tue Aug 10 14:44:03 PDT 2010


Hello all

Patch contains initial attempt at supersampling in Pixman. Only
bitmaps ("bits images") are supersampled, and the resampling filter is
a simple box filter (average over the subpixels). To test, uncomment
the fragment in pixman-bits-image.c - this will cause the sampling
rate to adapt to the transformation matrix.

Questions:
1. Is bits_image_fetch_transformed the right place for supersampling?
2. Shouldn't we use nearest-neighbor sampling to obtain subpixels?
3. The performance isn't very good at the moment - any ideas on how it
could be improved?

Regards, Krzysztof
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixman-supersampling.patch
Type: text/x-patch
Size: 9573 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100810/79d7ff74/attachment.bin>


More information about the cairo mailing list