[Top][All Lists]

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

Re: redisplay system of emacs

From: Jan Djärv
Subject: Re: redisplay system of emacs
Date: Fri, 12 Feb 2010 16:11:51 +0100
User-agent: Thunderbird (X11/20090817)

alin.s skrev:

You can keep on server side many little windows, and on the client side you
can keep the image of the screen, and the little windows notifies you what
part of the image was changed, you update the local bitmap, and when the
bitmap is created, you send it to the server with only 1 X lib call.

The idea is that you ask the server to tell you what must be refreshed on
the scree, and you need no more obfuscated internal redisplay.

This is done already, the expose event contains the rectangle that needs to be updated. And if you need more exact information you can use the XDamage extension.

What you are describing is basically double buffering. Since Gtk+ does this already, it makes sense for Emacs to go that way too, either by using more Gtk+ (we now turn double buffering off), or develop its own.

        Jan D.

reply via email to

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