[perf] Reset global caches after every trace

I'd disabled this to look at cairo-qt performance, then forgot about it.
Be clean, cleanup globals -- this should fix the huge performance loss
when running in series multiple backends that need separate font caches.
This commit is contained in:
Chris Wilson 2009-08-22 12:23:03 +01:00
parent 9c8e60f771
commit 77c1109616

View file

@ -596,6 +596,11 @@ cairo_perf_trace (cairo_perf_t *perf,
if (target->cleanup)
target->cleanup (closure);
cairo_debug_reset_static_data ();
#if HAVE_FCFINI
FcFini ();
#endif
}
static void