mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
gl: Log creation of glyph caches
Now that they can be of different sizes, this is somewhat interesting.
This commit is contained in:
parent
c7387a8e7f
commit
fd4182f5c5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user