[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cursor drawing
From: |
Eli Zaretskii |
Subject: |
Re: Cursor drawing |
Date: |
Thu, 20 Dec 2018 21:07:29 +0200 |
> From: Stefan Monnier <address@hidden>
> Date: Thu, 20 Dec 2018 10:39:53 -0500
>
> I was wondering whether it would make sense to introduce a clear notion
> of layers. IIUC the current situation is:
>
> - redisplay renders buffers into glyph matrix.
> - redraw of a clipping region is done by "rendering" the corresponding
> part of a glyph matrix into pixels.
This is not entirely accurate, but I'm not yet sure a more accurate
description will matter (I will publish one if we conclude it will
help). I think what matters for this discussion is the "rendering
into pixels" part: I suspect that you have some mental model of that
which is not entirely consistent with what the code actually does.
So maybe you should say more about how you imagine this works, and how
under that mental model you envision this part:
> - redraw of a clipping region is done by "rendering" the corresponding
> part of a glyph matrix combined with the corresponding part of the
> overlay layer into pixels.
The crucial part here, for me, is how this "combination" would be
different from "shoehorning crosshairs into the glyph matrix". Can
you elaborate on what you had in mind?
> The advantage would be mostly that the overlay data structure could be
> designed completely differently from glyph-matrices
Like what, for example?
- Process: Determining the origin of a command loop., Keith David Bershatsky, 2018/12/18
- Re: Process: Determining the origin of a command loop., Keith David Bershatsky, 2018/12/19
- Re: Process: Determining the origin of a command loop., Eli Zaretskii, 2018/12/20
- Cursor drawing (was: Process: Determining the origin of a command loop), Stefan Monnier, 2018/12/20
- Re: Cursor drawing,
Eli Zaretskii <=
- Re: Cursor drawing, Stefan Monnier, 2018/12/20
- Re: Cursor drawing, Eli Zaretskii, 2018/12/20
- Re: Cursor drawing, Stefan Monnier, 2018/12/20
- Re: Cursor drawing, Elias Mårtenson, 2018/12/20
- Re: Cursor drawing, Eli Zaretskii, 2018/12/21
- Re: Cursor drawing, Elias Mårtenson, 2018/12/21
- Re: Cursor drawing, Eli Zaretskii, 2018/12/21
- Re: Cursor drawing, Clément Pit-Claudel, 2018/12/21
- Re: Cursor drawing, Eli Zaretskii, 2018/12/21
- Re: Cursor drawing, Eli Zaretskii, 2018/12/21