emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and Gnome Canvas


From: Jan Djärv
Subject: Re: Emacs and Gnome Canvas
Date: Thu, 15 Jul 2010 19:14:23 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100528 Thunderbird/3.0.5

2010-07-15 17:20, Eli Zaretskii skrev:
Date: Thu, 15 Jul 2010 17:16:31 +0200
From: Jan Djärv<address@hidden>
CC: address@hidden, address@hidden

2010-07-15 16:35, Eli Zaretskii skrev:
Date: Thu, 15 Jul 2010 16:24:27 +0200
From: Jan Djärv<address@hidden>
Cc: address@hidden, address@hidden

No, they need to be done anyway sometime, it is no waste.  If the text isn't
displayed, the attributes are nvertheless set up correctly for the time when
the text is to be displayed later (by scrolling for example).

By which time those attributes could have recomputed many times, for
just one display!


That may be so.  But there is nothing actually displayed, you just do a update
of the attributes.

This "just" is the hottest bottleneck of the current display engine.
That's why we try so hard to avoid it.

I would have thought that the actual drawing would be the bottleneck. Not that I benchmarked or anything.



I'm sure one could hook in to the scroll bars and just update the
visible portion if that is needed.

I don't think updating the scroll bar is an important CPU user in
today's redisplay.


I meant that you can update the portion that is visible and postpone update of the other parts until they become visible.

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]