[cairo] Clear the glyph caches on XCloseDisplay

Carl Worth cworth at cworth.org
Wed Mar 14 17:39:26 PDT 2007


On Tue, 13 Mar 2007 20:57:33 +0000, Chris Wilson wrote:
> After introducing the use of ->cleanup() for cairo-perf, failures were
> noticed in the xlib backend. These were due to not releasing the XRender
> glyph cache after closing the display, and reusing the old data with a
> new display.

Thanks for the fix. I've pushed this out now, (it's very nice to be
able to use cairo-perf once again). And it's also quite nice to see
XXX comments disappearing from the code:

> -/* XXX: From this function we should also run through and cleanup
> - * anything else that still has a pointer to this Display*. For
> - * example, we should clean up any Xlib-specific glyph caches. */

Beautiful, just beautiful.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070314/0f63f93f/attachment.pgp


More information about the cairo mailing list