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: Sat, 17 Jul 2010 10:33:08 +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 05.50:
On Fri, 16 Jul 2010 14:42:00 +0200, Jan Djärv<address@hidden>  said:

If you for example have double buffer, you can split expose from
update display.  When an expose comes, you just copy the area from
the backing store to the window.  But for updating the display, you
draw normally, but to the backing store.  Then when you are done,
you copy it to the window.

How do you copy the backing store to the window?

If using the double buffer extension, by calling one function.

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.

        Jan D.



reply via email to

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