Bug 25167 - Fails to paint some paths with CAIRO_ANTIALIAS_NONE
Summary: Fails to paint some paths with CAIRO_ANTIALIAS_NONE
Status: RESOLVED NOTOURBUG
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (show other bugs)
Version: 1.9.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 12:32 UTC by Gustavo Noronha Silva
Modified: 2011-06-25 05:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test case (1.11 KB, text/plain)
2009-11-18 12:32 UTC, Gustavo Noronha Silva
Details

Description Gustavo Noronha Silva 2009-11-18 12:32:06 UTC
Created attachment 31296 [details]
test case

I noticed this while investigating WebKitGTK+'s failure to draw some box outlines. When WebKit tries to draw a 4-points polygon with code similar to the one I'm attaching as test case nothing gets painted. If I comment out the line that sets the antialias type to NONE the outline does get painted. I tried using the image backend to be sure, and it worked when generating a png, which is why I'm filling this under the xlib backend component.
Comment 1 Gustavo Noronha Silva 2009-11-18 12:36:49 UTC
Oh, I just noticed I forgot to explain why I say some paths do not work. If you make the path be a rectangle covering the whole window, for instance, it works.
Comment 2 Gustavo Noronha Silva 2009-11-19 03:40:39 UTC
One more information: it works when running inside Xephyr, but not on my main X server.
Comment 3 Andrea Canciani 2011-06-25 05:10:32 UTC
This might be (In reply to comment #2)
> One more information: it works when running inside Xephyr, but not on my main X
> server.

I cannot reproduce and based on what you are seeing, it looks like a driver bug.
Additional information (like what video card and driver you are using) might be helpful in tracking down the issue, but it probably does not belong to cairo.


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.