From 713bb7322e8e012deccabe331b21a5b9a60864ba Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 23 Feb 2007 13:21:02 +0000 Subject: Add a new debug flag to monitor draw operations. Don't issue individual 2007-02-23 Chris Wilson Add a new debug flag to monitor draw operations. Don't issue individual glyphs for is_local_graphic() in the middle of a run. * src/debug.c: (_vte_debug_parse_string): * src/debug.h: * src/vte.c: (vte_terminal_unichar_is_local_graphic), (vte_terminal_draw_rows), (vte_terminal_paint): * src/vtedraw.c: (_vte_draw_init_user), (_vte_draw_init_default), (_vte_draw_new), (_vte_draw_free), (_vte_draw_get_visual), (_vte_draw_get_colormap), (_vte_draw_start), (_vte_draw_end), (_vte_draw_set_background_color), (_vte_draw_set_background_image), (_vte_draw_requires_repaint), (_vte_draw_clip), (_vte_draw_clear), (_vte_draw_set_text_font), (_vte_draw_get_text_width), (_vte_draw_get_text_height), (_vte_draw_get_text_ascent), (_vte_draw_get_char_width), (_vte_draw_get_using_fontconfig), (_vte_draw_text), (_vte_draw_char), (_vte_draw_has_char), (_vte_draw_fill_rectangle), (_vte_draw_draw_rectangle), (_vte_draw_set_scroll): * src/vtedraw.h: * src/vteft2.c: (_vte_ft2_draw_has_char): * src/vtegl.c: (_vte_gl_draw_has_char): * src/vtepango.c: (_vte_pango_draw_has_char): * src/vtepangox.c: (_vte_pango_x_draw_has_char): * src/vteskel.c: (_vte_skel_draw_has_char): * src/vtexft.c: (_vte_xft_draw_has_char): svn path=/trunk/; revision=1729 --- src/vteskel.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/vteskel.c') diff --git a/src/vteskel.c b/src/vteskel.c index 1bd3f64..1cb7a3f 100644 --- a/src/vteskel.c +++ b/src/vteskel.c @@ -169,6 +169,12 @@ _vte_skel_draw_char(struct _vte_draw *draw, return FALSE; } +static gboolean +_vte_skel_draw_has_char(struct _vte_draw *draw, gunichar c) +{ + return FALSE; +} + static void _vte_skel_draw_rectangle(struct _vte_draw *draw, gint x, gint y, gint width, gint height, @@ -218,6 +224,7 @@ const struct _vte_draw_impl _vte_draw_skel = { _vte_skel_get_using_fontconfig, _vte_skel_draw_text, _vte_skel_draw_char, + _vte_skel_draw_has_char, _vte_skel_draw_rectangle, _vte_skel_fill_rectangle, _vte_skel_set_scroll, -- cgit v1.2.3