Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: =?utf-8?Q?S=C3=B8ren?= Sandmann <sandmann-xFMzFlFZ0lk <at> public.gmane.org>
Subject: Fix for bug 45009
Newsgroups: gmane.comp.graphics.pixman
Date: Wednesday 25th January 2012 20:06:01 UTC (over 6 years ago)
Hi,

The following patch reverts 259d46168c0f2, which was a change that made
trapezoids like this one invalid:

   ---------------------------------------------- top


        \                          
         \                        /
         left                  right
            \                   /
             \                 


   ---------------------------------------------- bottom

where top is stricly above the edges or bottom is strictly below.

The problem with trapezoids like that is that if the edges are close to
horizontal, then the trapezoid can very easily overflow, and there are
cases in the test suite where this happens. It is also somewhat
difficult to accurately compute a damage rectangle for them.

Unfortunately, the Bentley-Ottmann algorithm in cairo apparently does
generate such trapezoids, and ignoring them causes obvious graphical
glitches (see https://bugs.freedesktop.org/show_bug.cgi?id=45009),
so
unless someone has a better idea, the patch will have to be reverted.

Comments appreciated.


Thanks,
Soren
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
 
CD: 4ms