emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs and Gnome Canvas


From: YAMAMOTO Mitsuharu
Subject: Re: Emacs and Gnome Canvas
Date: Fri, 16 Jul 2010 19:15:25 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Fri, 16 Jul 2010 12:52:12 +0300, Eli Zaretskii <address@hidden> said:

> Btw, I don't think I understand what Mitsuharu says in this Item #2.
> Surely, we cannot "restrict the actual drawings to those in response
> to exposure events"?  A completely exposed window does need to be
> redrawn if the buffer text changes, right?  What am I missing?

The current code assumes that drawing is mainly done for updated area
during redisplay, and expose_window is rather subsidiary.  So the
latter is not so optimized for frequent use.  For example, it does not
accept multiple rectangles for exposed area that is necessary for
minimal redrawing.  It also reuses functions primarily designed for
drawing during redisplay and that does not necessarily efficient for
exposure handing.

                                     YAMAMOTO Mitsuharu
                                address@hidden



reply via email to

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