diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-02-28 14:58:57 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-02-28 14:58:57 -0500 |
commit | d0fe666a6ab1664af36a7b242d763c72f4e9f81b (patch) | |
tree | 2c557e3546ab3a3a12f0dab302db50d36b12a0d9 /src/cairo-debug.c | |
parent | 5f5afac8f470ae13ab2827f04e05ca585d69b898 (diff) | |
download | cairo-d0fe666a6ab1664af36a7b242d763c72f4e9f81b.tar.gz |
Revert the solid-pattern cache
This reverts the following commits:
2715f2098127d04d2f9e304580a26cd0842c0e64
67e3b3c53bdd69e4d3503eed2db66953f1ac038c
See this thread for an analysis of the problems it caused:
http://lists.freedesktop.org/archives/cairo/2007-February/009825.html
In short, a single cache for all backends doesn't work, as one thread
using any backend can cause an unused xlib pattern to be evicted from
the cache, and trigger an xlib call while the display is being used
from another thread. Xlib is not prepared for this.
Diffstat (limited to 'src/cairo-debug.c')
-rw-r--r-- | src/cairo-debug.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cairo-debug.c b/src/cairo-debug.c index dd57dd780..7c299325f 100644 --- a/src/cairo-debug.c +++ b/src/cairo-debug.c @@ -68,6 +68,4 @@ cairo_debug_reset_static_data (void) #if CAIRO_HAS_FT_FONT _cairo_ft_font_reset_static_data (); #endif - - _cairo_pattern_reset_static_data (); } |