[cairo-bugs] [Bug 43397] EXTEND_NONE is used instead of EXTEND_PAD when src sample area is entirely within the surface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 22 14:28:56 PST 2012


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

--- Comment #33 from Benjamin Otte <otte at gnome.org> 2012-01-22 22:28:56 UTC ---
(In reply to comment #32)
> I don't know if you are being deliberately misleading, but comment #6
> explicitly mentions the need for an "EXTEND_ANY" to fix this. I will quote it:
> 
You could have read all of the comment and would have found this gem:

> But considering that we do 2 things correctly:
> 1) Have the same performance characteristics for any EXTEND when it doesn't
> matter
> 2) Pass the desired mode for EXTEND_ANY
> I don't think it's a bug in Cairo.
>
We do the correct thing. We pass the extend mode that is fastest to Render.
And I even pointed that out conveniently in comment 10:

> And the Xrender spec is very clear that the default value is None. See
> http://www.x.org/releases/current/doc/renderproto/renderproto.txt for details.

So again, this is a bug in Render or the driver, not in Cairo. Cairo does
absolutely the right thing with the information that it's given. It couldn't
behave any better.

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