[cairo] [PING] invalid-size-error
Behdad Esfahbod
behdad at behdad.org
Mon Dec 22 16:57:20 PST 2008
M Joonas Pihlaja wrote:
> Hi Paolo,
>
> Regarding the new CAIRO_STATUS_CONTENT_MISMATCH error, it's only
> being generated by cairo-glitz-surface.c's create_similar method
> when glitz can't find a suitable format for the requested
> content. It used to return CAIRO_STATUS_NO_MEMORY before and a
> CONTENT_MISMATCH error does seem like an improvement, but I was
> left wondering whether it wouldn't be better to return NULL in
> this case so that the fallback path can create an image surface
> instead. For instance, this is what the xlib surface does if it
> can't find a suitable xrender format.
Definitely. That's what cairo is about.
behdad
> Joonas
>
> P.S. Merry christmas and other suitable holidays to all on
> cairo-l. :)
More information about the cairo
mailing list