summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-06-02 20:53:07 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-06-03 02:09:04 +0000
commitad2a1c92ce68a2a9aa04c26ebd6658a3ea79b0b2 (patch)
tree630324c5a8b4a13d01b99fcb48cac5cdf0e3b307 /gsk
parentfd4182f5c5485d55dd3960a484a7471fe9407aca (diff)
downloadgtk+-ad2a1c92ce68a2a9aa04c26ebd6658a3ea79b0b2.tar.gz
gl: Improve glyph cache logging
Use g_message to be consistent, and make the message fit a line.
Diffstat (limited to 'gsk')
-rw-r--r--gsk/gl/gskglglyphcache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gsk/gl/gskglglyphcache.c b/gsk/gl/gskglglyphcache.c
index 37e468eb0e..ed0aeb479c 100644
--- a/gsk/gl/gskglglyphcache.c
+++ b/gsk/gl/gskglglyphcache.c
@@ -190,11 +190,10 @@ add_to_cache (GskGLGlyphCache *cache,
#ifdef G_ENABLE_DEBUG
if (GSK_RENDERER_DEBUG_CHECK (cache->renderer, GLYPH_CACHE))
{
- g_print ("Glyph cache:\n");
for (i = 0; i < cache->atlases->len; i++)
{
atlas = g_ptr_array_index (cache->atlases, i);
- g_print ("\tGskGLGlyphAtlas %d (%dx%d): %.2g%% old pixels, filled to %d, %d / %d\n",
+ g_message ("atlas %d (%dx%d): %.2g%% old pixels, filled to %d, %d / %d",
i, atlas->width, atlas->height,
100.0 * (double)atlas->old_pixels / (double)(atlas->width * atlas->height),
atlas->x, atlas->y0, atlas->y);