diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2007-02-28 13:03:38 +0000 |
---|---|---|
committer | Chris Wilson <cpwilson@src.gnome.org> | 2007-02-28 13:03:38 +0000 |
commit | 884d186a7cbe1a5488ade41a4c7e76753a5be2a2 (patch) | |
tree | 50538b098e660420b2ca7b56560918745268d776 /src/vtedraw.h | |
parent | 7e29eee18ece4f89be83258cc55601292a431979 (diff) |
Bug 410534 – Slow content scrolling, takes 100% of CPU.
2007-02-28 Chris Wilson <chris@chris-wilson.co.uk>
Bug 410534 – Slow content scrolling, takes 100% of CPU.
Submitting long glyph runs was causing a dramatic (10x) slow down
in the fglrx xserver.
* src/vtedraw.h
* src/vtexft.c (_vte_xft_draw_text):
Cap the max glyph run length to 300.
svn path=/trunk/; revision=1777
Diffstat (limited to 'src/vtedraw.h')
-rw-r--r-- | src/vtedraw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vtedraw.h b/src/vtedraw.h index 91453cc..d168e68 100644 --- a/src/vtedraw.h +++ b/src/vtedraw.h @@ -39,7 +39,7 @@ G_BEGIN_DECLS fonts without Hangul */ #define VTE_DRAW_DOUBLE_WIDE_IDEOGRAPHS 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94 #define VTE_DRAW_OPAQUE 0xff -#define VTE_DRAW_MAX_LENGTH 540 +#define VTE_DRAW_MAX_LENGTH 1024 /* The _vte_draw structure. */ struct _vte_draw; |