emacs-devel
[Top][All Lists]
Advanced

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

Re: Stipples and scroll optimizations


From: Po Lu
Subject: Re: Stipples and scroll optimizations
Date: Sun, 08 May 2022 19:46:59 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Not necessarily true.  update_window does this:
>
>       /* Try reusing part of the display by copying.  */
>       if (row < end && !desired_matrix->no_scrolling_p)  <<<<<<<<<<<<<
>       {
>         int rc = scrolling_window (w, (tab_line_row != NULL ? 1 : 0)
>                                    + (header_line_row != NULL ? 1 : 0));
>
> If the desired matrix is irrelevant, why do we test the no_scrolling_p
> flag on that matrix?

I'm not sure, but I cannot see how that can affect us here, since this
problem is only present when pixels containing stipplies that are
_already_ on the glass (before scrolling) are copied around during
scrolling.

Thanks.


reply via email to

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