[gtk/big-glyphs] gl: Log creation of glyph caches
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/big-glyphs] gl: Log creation of glyph caches
- Date: Sun, 2 Jun 2019 21:21:38 +0000 (UTC)
commit 73810c778adc2c1e8a71fbcd069659e80c5aa4b1
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 2 20:52:26 2019 +0000
gl: Log creation of glyph caches
Now that they can be of different sizes, this
is somewhat interesting.
gsk/gl/gskglglyphcache.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gsk/gl/gskglglyphcache.c b/gsk/gl/gskglglyphcache.c
index 2f27c45faf..8717ae458e 100644
--- a/gsk/gl/gskglglyphcache.c
+++ b/gsk/gl/gskglglyphcache.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]