Summary: | Patterns created from surface lose alpha channel when set EXTEND_REFLECT | ||
---|---|---|---|
Product: | cairo | Reporter: | Ruslan Kabatsayev <b7.10110111> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 1.8.8 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Test case
Screenshot |
Created attachment 36503 [details]
Screenshot
Here's how it looks
Fixed as of 1.9.8 |
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.
Created attachment 36502 [details] Test case Setting CAIRO_EXTEND_REFLECT on a pattern created via cairo_pattern_create_for_surface() results in loss of alpha channel. See the test attached - top left quadrant of the window is painted using CAIRO_EXTEND_REFLECT. One would expect the same background as with other extend modes, but it is black instead. Some experimenting shows that the pattern is blended with black instead of being blended with target surface background, not just loses the alpha channel.