summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-10-11 15:36:11 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:16 +0900
commit7b62d77cf5441b89c17ff082204a6908259bd4c3 (patch)
tree7733379db7914b839eb8005eb999ae7162ed4bc5 /src/bin
parent4c44b5a553290f0e35675974da59b1205e06e850 (diff)
evas/cserve2: Add debug and reduce number of GLYPHS_USED messages
One socket message was sent per each glyph used ... which means a LOT of messages when text is being redrawn. Reduce this flow of messages by triggering send() only when 50+ items are being used. Btw, USED is a bit useless as there is no UNUSED equivalent. Also, slightly improve debug logs.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/evas/evas_cserve2_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/evas/evas_cserve2_main.c b/src/bin/evas/evas_cserve2_main.c
index bd54cbfb3d..1e8fd182dc 100644
--- a/src/bin/evas/evas_cserve2_main.c
+++ b/src/bin/evas/evas_cserve2_main.c
@@ -234,8 +234,8 @@ _cserve2_client_font_glyphs_request(Client *client)
234 234
235 if (msg->base.type == CSERVE2_FONT_GLYPHS_LOAD) 235 if (msg->base.type == CSERVE2_FONT_GLYPHS_LOAD)
236 { 236 {
237 INF("Received CSERVE2_FONT_GLYPHS_LOAD command: RID=%d", 237 INF("Received CSERVE2_FONT_GLYPHS_LOAD command: RID=%d (%d glyphs)",
238 msg->base.rid); 238 msg->base.rid, msg->nglyphs);
239 cserve2_cache_font_glyphs_load(client, source, fontpath, 239 cserve2_cache_font_glyphs_load(client, source, fontpath,
240 msg->hint, msg->rend_flags, msg->size, 240 msg->hint, msg->rend_flags, msg->size,
241 msg->dpi, glyphs, msg->nglyphs, 241 msg->dpi, glyphs, msg->nglyphs,
@@ -243,8 +243,8 @@ _cserve2_client_font_glyphs_request(Client *client)
243 } 243 }
244 else 244 else
245 { 245 {
246 INF("Received CSERVE2_FONT_GLYPHS_USED command: RID=%d", 246 INF("Received CSERVE2_FONT_GLYPHS_USED command: RID=%d (%d glyphs)",
247 msg->base.rid); 247 msg->base.rid, msg->nglyphs);
248 cserve2_cache_font_glyphs_used(client, source, fontpath, 248 cserve2_cache_font_glyphs_used(client, source, fontpath,
249 msg->hint, msg->rend_flags, msg->size, 249 msg->hint, msg->rend_flags, msg->size,
250 msg->dpi, glyphs, msg->nglyphs, 250 msg->dpi, glyphs, msg->nglyphs,