[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?
- Re: Drawing UI elements behind text, (continued)
Re: Drawing UI elements behind text, JD Smith, 2024/11/24
- Re: Drawing UI elements behind text, Cecilio Pardo, 2024/11/26
- Re: Drawing UI elements behind text, Eli Zaretskii, 2024/11/27
- Re: Drawing UI elements behind text, Cecilio Pardo, 2024/11/27
- Re: Drawing UI elements behind text, Eli Zaretskii, 2024/11/27
- Re: Drawing UI elements behind text, Cecilio Pardo, 2024/11/27
- Re: Drawing UI elements behind text,
Eli Zaretskii <=
- Re: Drawing UI elements behind text, Cecilio Pardo, 2024/11/27
- Re: Drawing UI elements behind text, Eli Zaretskii, 2024/11/28
- Re: Drawing UI elements behind text, Cecilio Pardo, 2024/11/28
- Re: Drawing UI elements behind text, Eli Zaretskii, 2024/11/28
- Re: Drawing UI elements behind text, Cecilio Pardo, 2024/11/28
- Re: Drawing UI elements behind text, Eli Zaretskii, 2024/11/28
- Re: Drawing UI elements behind text, Cecilio Pardo, 2024/11/28
Re: Drawing UI elements behind text, JD Smith, 2024/11/27
Re: Drawing UI elements behind text, Cecilio Pardo, 2024/11/27
Re: Drawing UI elements behind text, JD Smith, 2024/11/26