gl: Log creation of glyph caches

Now that they can be of different sizes, this
is somewhat interesting.
This commit is contained in:
Matthias Clasen 2019-06-02 20:52:26 +00:00
parent c7387a8e7f
commit fd4182f5c5

View File

@ -33,7 +33,7 @@ static void glyph_cache_key_free (gpointer v);
static void glyph_cache_value_free (gpointer v);
static GskGLGlyphAtlas *
create_atlas (GskGLGlyphCache *cache,
create_atlas (GskGLGlyphCache *self,
int width,
int height)
{
@ -47,6 +47,8 @@ create_atlas (GskGLGlyphCache *cache,
atlas->x = 1;
atlas->image = NULL;
GSK_RENDERER_NOTE(self->renderer, GLYPH_CACHE, g_message ("Create atlas %d x %d", atlas->width, atlas->height));
return atlas;
}