[Pixman] Supersampling - 2nd attempt
tweenk.pl at gmail.com
Thu Aug 12 14:58:59 PDT 2010
This is the second attempt at bitmap supersampling in Pixman.
1. There is a new fast path flag called FAST_PATH_NO_SUPERSAMPLING
2. No divisions in inner loops, but this causes a proliferation of
variables. Note: using float or double for transformation matrices
would both simplify code and fix the problems encountered by Inkscape
when zooming into a bitmap.
3. Automatic sampling rate: by default, when the filter is better than
nearest neighbor, the image's sampling rate is automatically adjusted
to match the transform. This can be turned off by explicitly setting a
sampling rate using pixman_image_set_sampling_rate. This way the
quality of downscaling is vastly improved without the need for any
further changes to Cairo.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15357 bytes
Desc: not available
More information about the Pixman