emacs-devel
[Top][All Lists]
Advanced

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

Re: Drawing UI elements behind text


From: Eli Zaretskii
Subject: Re: Drawing UI elements behind text
Date: Wed, 27 Nov 2024 22:12:49 +0200

> Date: Wed, 27 Nov 2024 21:01:42 +0100
> From: Cecilio Pardo <cpardo@imayhem.com>
> 
> On 27/11/2024 19:58, Eli Zaretskii wrote:
> 
> >> They are drawn after switching the back paint buffer, so that the
> >> redisplay result is left alone.
> > 
> > So you clear them up when redisplay starts and then redraw them in
> > their entirety when it ends, something like that?  Doesn't that slow
> > down redisplay, especially if there are many pixels and a large
> > window?
> 
> Yes. We do a full frame copy on each double buffered redisplay, I expect 
> we can add this with reasonable impact.
> 
> The very naive implementation I have now adds something like 5ms to each 
> redisplay on a 1900px frame, and I hope to bring it down a lot from there.

What takes 5ms, exactly? what kind of redisplay did you trigger, and
how did you trigger it?



reply via email to

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