[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Analysis of redisplay performance on Windows
From: |
Jason Rumney |
Subject: |
Re: Analysis of redisplay performance on Windows |
Date: |
Sun, 27 Jul 2008 22:53:47 +0100 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
Chong Yidong wrote:
> Jason Rumney <address@hidden> writes:
> What you wrote seems to imply that left_overwritten and
> right_overwritten aren't really the problem; they have a performance
> impact simply because they cause more glyphs to be drawn (i.e., for
> redrawing overwritten glyphs). But the ultimate problem is that drawing
> glyphs is a much slower operation, compared to GNU/Linux. The question
> is, what's the reason for this slowness, and can we fix it?
One difference between Emacs 22 and 23 is that we compute glyph indexes
properly in Emacs 23, while on 22 we use unicode code points. Since we
call font->encode_char once per character rather than for a whole run,
the overhead of selecting fonts into the GC is multiplied. As I
suggested in my earlier email, new functions in the font backend
interface to select a font for working with and releasing it when done,
would help, as we could then skip doing this in functions like
encode_char and text_extents.
- Re: Analysis of redisplay performance on Windows, Chong Yidong, 2008/07/26
- Re: Analysis of redisplay performance on Windows, Jason Rumney, 2008/07/27
- Re: Analysis of redisplay performance on Windows, Chong Yidong, 2008/07/27
- Re: Analysis of redisplay performance on Windows, Jason Rumney, 2008/07/27
- Re: Analysis of redisplay performance on Windows, Chong Yidong, 2008/07/27
- Re: Analysis of redisplay performance on Windows,
Jason Rumney <=
- Re: Analysis of redisplay performance on Windows, Chong Yidong, 2008/07/27
- Re: Analysis of redisplay performance on Windows, Adrian Robert, 2008/07/27
- Re: Analysis of redisplay performance on Windows, Chong Yidong, 2008/07/28
- Re: Analysis of redisplay performance on Windows, Jason Rumney, 2008/07/28
- Re: Analysis of redisplay performance on Windows, Kevin Yu, 2008/07/27
- Re: Analysis of redisplay performance on Windows, YAMAMOTO Mitsuharu, 2008/07/28
- Re: Analysis of redisplay performance on Windows, YAMAMOTO Mitsuharu, 2008/07/28
- Re: Analysis of redisplay performance on Windows, Jason Rumney, 2008/07/30