[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
Fri Jan 13 13:42:30 PST 2012


--- Comment #26 from Bill Spitzak <spitzak at gmail.com> 2012-01-13 13:42:30 PST ---
I like the proposed simpler change. However I think this should mean that Cairo
should *never* change the extend mode, it should send exactly the same one
selected by the cairo commands to the back end. Putting it in the backend only
will make cairo faster. No matter how inexpensive the test is, saving one or
two runs of it is still going to be faster!

1. No time is wasted by Cairo running the test, since the backend has to do it
anyway (for the vast majority of back ends where NONE is in fact the slowest

2. The backend can skip the test if the current extend mode is already the one
it would use.

Preserving the extend mode can also be used by software to get around bugs in
the backends by making sure the extend is one that works.

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