Bug 92123 - Incorrect cairo_fill when mixing antialias modes in multiple clippings
Summary: Incorrect cairo_fill when mixing antialias modes in multiple clippings
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.12.14
Hardware: All Linux (All)
: high critical
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-25 22:21 UTC by frank.chou
Modified: 2018-08-25 13:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Unit test to reproduce the bug (3.08 KB, text/plain)
2015-09-25 22:21 UTC, frank.chou
Details
Image showing the bug (3.61 KB, text/plain)
2015-09-25 22:25 UTC, frank.chou
Details

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.