Summary: | bug in gcc 4.0.1 causes big alpha channel problems. | ||
---|---|---|---|
Product: | cairo | Reporter: | nickg <bulk> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | blocker | ||
Priority: | high | ||
Version: | 1.2.4 | ||
Hardware: | PowerPC | ||
OS: | Mac OS X (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 7497 | ||
Bug Blocks: |
Description
nickg
2006-10-07 18:57:00 UTC
Ughh, I goofed.. it should be """ I added a printf statement at the end of static void _cairo_color_compute_shorts (cairo_color_t *color) { ... color->alpha_short =color->alpha * CAIRO_COLOR_ONE_MINUS_EPSILON; printf("compute shorts: alpha is %f %d %f\n", color->alpha, color->alpha_short, color->alpha * CAIRO_COLOR_ONE_MINUS_EPSILON); } """ This correctly shows the bug... the version before has my patch in it. enjoy --nickg We are going to rewrite that function in a more robust way. Marking urgent to make sure it doesn't slip. Can you check the latest git trunk to see if this is fixed now? It should be. Hi there... wow this was a nightmare to test.. I had to install new versions of git/autoconf/libtool/ automake... and the autoreconf'ed configure script has bugs in pkg-config part so I had to hack that too... but... the result is.... WORKS! -O3 produces the correct output. thanks everyone. --nickg Hi there... wow this was a nightmare to test.. I had to install new versions of git/autoconf/libtool/ automake... and the autoreconf'ed configure script has bugs in pkg-config part so I had to hack that too... but... the result is.... WORKS! -O3 produces the correct output. thanks everyone. --nickg (In reply to comment #5) > Hi there... wow this was a nightmare to test.. I had to install new versions of git/autoconf/libtool/ > automake... and the autoreconf'ed configure script has bugs in pkg-config part so I had to hack that too... What was the pkg-config problem? We want to fix that too. I filled my pkg-config/autotools mayhem in 8686... Let me know if you need more details. --nickg |
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.