Bug 15744 - [Xlib] rotation confuses the backend
Summary: [Xlib] rotation confuses the backend
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (show other bugs)
Version: 1.6.5
Hardware: Other All
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
Depends on: 15369
  Show dependency treegraph
Reported: 2008-04-28 07:01 UTC by Benjamin Otte
Modified: 2011-03-18 04:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

testcase (877 bytes, text/x-csrc)
2008-04-28 07:01 UTC, Benjamin Otte

Description Benjamin Otte 2008-04-28 07:01:41 UTC
Created attachment 16215 [details]

Here's a magic matrix that makes the Xlib backend screw up. The image backend and the X fallback code renders it fine.

I shortly tried some obvious rotations, but couldn't make it fail, so I pasted the matrix verbatim into the test. But I did enough of a job already, the initial test was 300 lines long. ;)

I also shortly checked various other clipping and extend-none related bugs, but they never where xlib specific, so I filed a new bug.
Comment 1 Benjamin Otte 2008-04-28 07:35:13 UTC
Owen mentioned that this is related (likely the same as) bug 15369, but I wasn't sure how they affect each other, so I'm not amrking this a duplicate.
Comment 2 Andrea Canciani 2011-03-18 04:57:28 UTC
The problem cannot be reproduced with current Cairo/Pixman/X
(and Xlib, XCB and image now share the matrix computation code).

The specific commit which actually fixed this has probably been
pushed long ago, but I cannot bisect it easily because the current
autotools suite does not work smoothly on cairo 1.6
(./configure dies with an error).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.