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:07:54 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> The logic is very simple (see x_set_glyph_string_gc) and depends only
> the kind of "highlight" with which a glyph string should be
> displayed.  All types of highlight except DRAW_CURSOR do the same when
> the set the stippled_p flag of a glyph string: they all set it if the
> face's 'stipple' member is non-zero.  Why cannot update_window do the
> same?  If drawing the image glyph can change the flag (though I cannot
> see where it does), then the same logic that depends on seeing image
> glyphs in a glyph-row can be added to update_window.

BTW, the scrolling optimization doesn't have to take the cursor into
account, since it is always cleared by gui_clear_cursor before a scroll
run actually happens on the glass, correct?

Thanks.


reply via email to

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