[cairo-bugs] [Bug 29250] use XCopyArea for operator SOURCE with compatible COLOR_ALPHA surfaces

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 25 16:21:41 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29250

--- Comment #1 from Karl Tomlinson <bugs.freedesktop at karlt.net> 2010-07-25 16:21:40 PDT ---
Created an attachment (id=37387)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37387
 Review: https://bugs.freedesktop.org/review?bug=29250&attachment=37387

use XCopyArea for operator SOURCE with compatible COLOR_ALPHA surfaces

_operator_needs_alpha_composite was changed to take two _has_alpha arguments
instead of one (and started returning false for SOURCE) in
http://cgit.freedesktop.org/cairo/commit/?id=c25992479aca481d326f72665ebdcf0904273eac

The call added to _cairo_xlib_surface_composite in that changeset has since
been removed so _operator_needs_alpha_composite is now only used when the
source and destination have the same format.

I would have used a switch statement but -Wswitch-enum doesn't like
"default:".

I'm getting failures with svg12 outputting clear (blank) surfaces, but I
haven't marked them xfail because I'm getting a large number unexpected fails
for svg12 in other tests also.

I haven't run the test against win32 or quartz backends, but I expect it to
pass because, with Firefox, we only got reports of self-copy bugs on X11.

-- 
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