[cairo-bugs] [Bug 9148] invalid rendering when painting large scaled-down surfaces

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 30 11:09:35 PDT 2008


Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk>  2008-09-29 08:37:32 PST ---
Created an attachment (id=19284)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=19284)
Cheat and avoid range overflow in the pixman_matrix_t for this particular case

The issue here is range overflow when constructing the pixman_matrix_t for
downscaling and placing the image.

However for this particular class of transformations we can extend the range of
translations supported by using the auxiliary offset vector in the attributes,
such that the offset vector contains the integer components of the translation
and the matrix contains the fractional values.

This seems like a lot of complication to work-around what seems to be an
unlikely corner-case.

--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk>  2008-10-30 11:09:32 PST ---
I've push a cleaned-up patch to master, which will be included with 1.10.
Thanks for the bug report!

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the cairo-bugs mailing list