Comment 331 for bug 217908

Revision history for this message
In , Kurosawa Takeshi (takenspc) wrote :

(In reply to comment #75)
> I think the server version check is needed.
> (I wouldn't bother with a cairo version check.)
>
> Might as well use EXTEND_PAD for upscaling with server >= 1.7.
> I was thinking something like
>
> gfxPattern::GraphicsExtend gfxContext::PreferredExtend().

cairo seems already to do something like it,

http://mxr.mozilla.org/mozilla-central/source/gfx/cairo/cairo/src/cairo-xlib-display.c#339

... and fallbacks if the server is buggy, doesn't it?

http://mxr.mozilla.org/mozilla-central/source/gfx/cairo/cairo/src/cairo-xlib-surface.c#1591