[cairo-bugs] [Bug 46255] Image Surface _cairo_image_surface_paint() has logic issue
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Feb 20 00:13:17 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=46255
--- Comment #5 from Hao <ihaohu at gmail.com> 2012-02-20 00:13:17 PST ---
Hi, Uli,
1. Self-contained test case
Yes. But it's a relatively complicate one. It happens when I'm rendering a simple web page in WebKitGTK, which uses cairo.
(There is a circle SVG image inside an iframe, which is marked by the red box, so the circle should be clipped)
What I observed:
xlib surface, no matter which cairo version.OR image surface, with version 1.9.4 and before (e.g. 1.8.10)
The result is
webViewSurface_correct.png
image surface, with version after 1.9.8 (e.g. 1.10.2)
The result is
webViewSurface_error.png
I have the cairo-trace log for just paint to the image surface as attached "simple.trace"
2. Git Master version?
I didn't try git master version, but by looking at the code, I don't think it will. Since the _cairo_image_surface_paint() simply calls
_cairo_compositor_paint(), which is shared by many surfaces.
If this happens, it must be spot by somebody already.
Hao
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the cairo-bugs
mailing list