Bug 15797 - problem rendering gradients on quartz surfaces
Summary: problem rendering gradients on quartz surfaces
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: quartz backend (show other bugs)
Version: 1.6.2
Hardware: PowerPC Mac OS X (All)
: medium normal
Assignee: Vladimir Vukicevic
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-02 04:02 UTC by Paolo Bonzini
Modified: 2008-12-30 09:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test program (1.60 KB, text/plain)
2008-05-02 04:02 UTC, Paolo Bonzini
Details

Description Paolo Bonzini 2008-05-02 04:02:02 UTC
Created attachment 16307 [details]
test program

The attached program renders the gradient correctly to frame.png if only one call to "render" is present in the main.  If the second call is there, the saved frame.png is entirely green.

The program works correctly with an image surface (try uncommenting this line:

  /* #undef CAIRO_HAS_QUARTZ_SURFACE */

to test).
Comment 1 Paolo Bonzini 2008-05-02 04:37:18 UTC
The same bug applies to radial patterns, I tested using this call:

  cairo_pattern_t *gradient = cairo_pattern_create_radial (0.3, 0.3, 0.1, 0.5, 0.5, 0.5);
Comment 2 Paolo Bonzini 2008-12-09 06:47:29 UTC
Not dependent on PR18632.  This bug is a reference count unbalancing and is fixed in master (but the fix causes PR18632).
Comment 3 Paolo Bonzini 2008-12-09 06:50:21 UTC
See http://permalink.gmane.org/gmane.comp.lib.cairo/15727 for analysis and
patches.
Comment 4 Paolo Bonzini 2008-12-30 09:45:00 UTC
fixed together with PR18632 (same fix applied to 1.8 and master)


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.