[Top][All Lists]
[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 10:40:18 +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 10:00:40 +0900, YAMAMOTO Mitsuharu <address@hidden>
>>>>> said:
>> Is it really worth our while to optimize that? What would be the
>> situation where we will get frequent expose events?
> If we change drawing during redisplay to addition of dirty area,
> then expose occurs on every window-system-level event handling or
> explicit flush.
... if redisplay had involved some updates, of course.
BTW, one reason several toolkits are adopting this strategy is that it
fits with transparency. Consider that some transparent widget (such
as canvas where some lines and possibly translucent rectangles are
drawn) is overlaid above the Emacs "widget". If we drew the Emacs
contents during redisplay, then the canvas would have no way to know
which part needs to be redrawn. If redisplay marks the area dirty
instead of drawing, this can also be propagated to the canvas widget:
the toolkit sends redraw requests to the widgets intersecting the
dirty area in back-to-front order.
YAMAMOTO Mitsuharu
address@hidden
- Re: Emacs and Gnome Canvas, (continued)
- Re: Emacs and Gnome Canvas, YAMAMOTO Mitsuharu, 2010/07/17
- Re: Emacs and Gnome Canvas, Jan Djärv, 2010/07/17
- Re: Emacs and Gnome Canvas, YAMAMOTO Mitsuharu, 2010/07/17
- Re: Emacs and Gnome Canvas, Jan Djärv, 2010/07/17
- Re: Emacs and Gnome Canvas, YAMAMOTO Mitsuharu, 2010/07/17
- Re: Emacs and Gnome Canvas, Jan Djärv, 2010/07/18
- Re: Emacs and Gnome Canvas, YAMAMOTO Mitsuharu, 2010/07/18
- Re: Emacs and Gnome Canvas, Jan Djärv, 2010/07/18
- Re: Emacs and Gnome Canvas, YAMAMOTO Mitsuharu, 2010/07/18
- Re: Emacs and Gnome Canvas, YAMAMOTO Mitsuharu, 2010/07/16
- Re: Emacs and Gnome Canvas,
YAMAMOTO Mitsuharu <=
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/17
- Re: Emacs and Gnome Canvas, YAMAMOTO Mitsuharu, 2010/07/17
- Re: Emacs and Gnome Canvas, Jan Djärv, 2010/07/16
- Re: Emacs and Gnome Canvas, Jan Djärv, 2010/07/15
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/15
- Re: Emacs and Gnome Canvas, Jan Djärv, 2010/07/15
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/15
- Re: Emacs and Gnome Canvas, Jan Djärv, 2010/07/15
- Re: Emacs and Gnome Canvas (was: Emacs, QT and Cairo), Dirk-Jan C . Binnema, 2010/07/15
- Re: Emacs and Gnome Canvas, Óscar Fuentes, 2010/07/15