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: Sat, 17 Jul 2010 17:32:27 +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 Sat, 17 Jul 2010 11:12:00 +0300, Eli Zaretskii <address@hidden> said:

>> Glyph matrices comparison belongs to the former, which does not
>> need to change.  And RIF operations such as write_glyphs belong to
>> the latter, which would require changes but is already separated
>> between window-system and tty.

> There's a large portion of redisplay that belongs to none of these
> two: the try_window method and its work-horse display_line.  These
> produce, for each window, the portions of its glyph matrix that do
> need to change.  This code is platform independent (although some of
> its parts are not run for tty frames), and it runs _before_ the
> write_glyphs methods.

The part runs before write_glyphs does not need to change.

In the extreme case, it could be sufficient to just replace low-level
drawing API calls such as XFillRectangle with some other API calls to
add dirty rectangle.  But this is so low-level and inefficient, and
more high-level drawing function can take care of the addition of the
dirty area in an earlier stage.

                                     YAMAMOTO Mitsuharu
                                address@hidden



reply via email to

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