summaryrefslogtreecommitdiff
path: root/test/glyph-cache-pressure.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-06-22 22:32:57 -0700
committerCarl Worth <cworth@cworth.org>2006-06-22 22:32:57 -0700
commit7e457cb4c1e69670f27e3e8e134a9e32a8f75788 (patch)
tree83ed7a2a28d42c86e907349bcad3dab96f069f51 /test/glyph-cache-pressure.c
parent6a58658b73924fa6897bd1e290d754ce1df44b0d (diff)
downloadcairo-7e457cb4c1e69670f27e3e8e134a9e32a8f75788.tar.gz
Bug 6955: Fix by adding freeze/thaw around scaled_font glyph cache in _cairo_xlib_surface_show_glyphs
Diffstat (limited to 'test/glyph-cache-pressure.c')
-rw-r--r--test/glyph-cache-pressure.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/glyph-cache-pressure.c b/test/glyph-cache-pressure.c
index b9ea4e19b..7f4ea2c33 100644
--- a/test/glyph-cache-pressure.c
+++ b/test/glyph-cache-pressure.c
@@ -40,6 +40,13 @@
* We replicate this bug by using the cairo_scaled_font_set_max_glyphs_per_font
* function to artifically induce cache pressure. (This function was added
* for this very purpose.)
+ *
+ * 2006-06-22 Carl Worth <cworth@cworth.org>
+ *
+ * Bug was simple enough to solve by just adding a freeze/thaw pair
+ * around the scaled_font's glyph cache in
+ * _cairo_xlib_surface_show_glyphs, (I went ahead and added
+ * _cairo_sacled_font_freeze/thaw_cache functions for this).
*/
cairo_test_t test = {