[cairo] Xlib/Xcb and EXTEND_PAD

Thomas Jaeger thjaeger at gmail.com
Mon Jan 19 16:29:07 PST 2009


Zack Weinberg wrote:
> ... because whether or not Render's equivalent of
> EXTEND_PAD/EXTEND_REFLECT actually *work* is dependent on the exact
> version of your X server and video drivers.  Render protocol 0.10 isn't
> good enough.  There are some cairo-only test cases in [2].

Oh, that's not good.  Do we have any data on how widespread this problem
is?  Using the test case from [2], None, Normal, and Pad are working
fine on both my systems (intel i965 and super-old radeon mobility),
Reflect is the only one that produces garbage, and that is fixed on my
intel system with xserver >= 1.5 and intel driver >= 2.5.1.  Is there a
better test case that we could use?

> I would love to find a good overall solution but I haven't got one.

How about this: disable cairo's fallbacks on X servers >= 1.5.99 and
then fix the drivers when problems become apparent (where fixing can
mean resorting to the server's software fallback for now).

> zw
> 
>> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=422179
> [2] https://bugzilla.mozilla.org/show_bug.cgi?id=468496



More information about the cairo mailing list