[cairo-commit] cairo/src cairo-glitz-surface.c,1.41,1.42
Carl Worth
commit at pdx.freedesktop.org
Fri Jun 3 16:08:30 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv9361/src
Modified Files:
cairo-glitz-surface.c
Log Message:
* src/cairo-glitz-surface.c:
(_cairo_glitz_glyph_cache_create_entry),
(_cairo_glitz_glyph_cache_destroy_entry),
(_cairo_glitz_glyph_cache_destroy_cache),
(_cairo_glitz_surface_show_glyphs): Rename functions to match the
naming scheme used by cairo-cache.c and all other users of
it. Though it's quite likely that glitz had this right and now
everything could be changed to match it instead. I'll save that
for some day when we're cleaning up the cache code.
Index: cairo-glitz-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-glitz-surface.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- cairo-glitz-surface.c 3 Jun 2005 21:51:57 -0000 1.41
+++ cairo-glitz-surface.c 3 Jun 2005 23:08:28 -0000 1.42
@@ -1609,7 +1609,7 @@
};
static cairo_status_t
-_cairo_glitz_glyph_cache_entry_create (void *abstract_cache,
+_cairo_glitz_glyph_cache_create_entry (void *abstract_cache,
void *abstract_key,
void **return_entry)
{
@@ -1633,7 +1633,7 @@
}
static void
-_cairo_glitz_glyph_cache_entry_destroy (void *abstract_cache,
+_cairo_glitz_glyph_cache_destroy_entry (void *abstract_cache,
void *abstract_entry)
{
cairo_glitz_glyph_cache_entry_t *entry = abstract_entry;
@@ -1659,7 +1659,7 @@
}
static void
-_cairo_glitz_glyph_cache_destroy (void *abstract_cache)
+_cairo_glitz_glyph_cache_destroy_cache (void *abstract_cache)
{
cairo_glitz_glyph_cache_t *cache = abstract_cache;
@@ -1671,9 +1671,9 @@
static const cairo_cache_backend_t _cairo_glitz_glyph_cache_backend = {
_cairo_glyph_cache_hash,
_cairo_glyph_cache_keys_equal,
- _cairo_glitz_glyph_cache_entry_create,
- _cairo_glitz_glyph_cache_entry_destroy,
- _cairo_glitz_glyph_cache_destroy
+ _cairo_glitz_glyph_cache_create_entry,
+ _cairo_glitz_glyph_cache_destroy_entry,
+ _cairo_glitz_glyph_cache_destroy_cache
};
static cairo_glitz_glyph_cache_t *_cairo_glitz_glyph_caches = NULL;
@@ -2090,7 +2090,7 @@
}
for (i = 0; i < num_glyphs; i++)
- _cairo_glitz_glyph_cache_entry_destroy (cache, entries[i]);
+ _cairo_glitz_glyph_cache_destroy_entry (cache, entries[i]);
glitz_buffer_destroy (buffer);
More information about the cairo-commit
mailing list