Bug 92123

Summary: Incorrect cairo_fill when mixing antialias modes in multiple clippings
Product: cairo Reporter: frank.chou
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: critical    
Priority: high    
Version: 1.12.14   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Unit test to reproduce the bug
Image showing the bug

Description frank.chou 2015-09-25 22:21:24 UTC
Created attachment 118452 [details]
Unit test to reproduce the bug

When clipping with mixed anti-aliasing, cairo_fill() draws incorrectly. See attached unit test. This bug is reproducible on cairo 1.12.14 as well as cairo 1.14.2.

This bug seems related to Bug 42422.
Comment 1 frank.chou 2015-09-25 22:25:42 UTC
Created attachment 118453 [details]
Image showing the bug

The attached PNG shows the bug where a red line is drawn on the top right corner. The expected result is nothing is drawn. If the last cairo_clip() has AA set to CAIRO_ANTIALIAS_NONE instead of CAIRO_ANTIALIAS_DEFAULT, then the bug disappears.
Comment 2 GitLab Migration User 2018-08-25 13:36:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/95.

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.