|
From: | Jan Djärv |
Subject: | Re: Emacs and Gnome Canvas |
Date: | Sat, 17 Jul 2010 11:18:56 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 |
YAMAMOTO Mitsuharu skrev 2010-07-17 10.38:
On Sat, 17 Jul 2010 10:33:08 +0200, Jan Djärv<address@hidden> said:The whole area, or divide the updated area to some collection of rectangles? The former is too inefficient for small updates.No it is not, this is how Gtk+ operates all the time, even for small updates.Isn't GTK+ using the model I've been saying, i.e., drawing only in respose to exposure, especially when using cairo?
Gtk+ (or rather Gdk) makes a syntetic expose event. But if you have a small change, it will do it just for that small change, the same it does for big changes.
Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |