diff options
| author | Ayose <ayosec@gmail.com> | 2022-07-13 21:31:21 +0100 |
|---|---|---|
| committer | Ayose <ayosec@gmail.com> | 2022-07-13 21:31:21 +0100 |
| commit | 111986f9c056e813dceb6b1dc3a84c6769edfad5 (patch) | |
| tree | 363c0daa192131296fd944a93cb05afe57fd0d21 /src/git:/git.josher.dev | |
| parent | dae81e0af69d6f0c4249f09f3ae7646ce2782170 (diff) | |
| download | r-alacritty-111986f9c056e813dceb6b1dc3a84c6769edfad5.tar.gz r-alacritty-111986f9c056e813dceb6b1dc3a84c6769edfad5.tar.bz2 r-alacritty-111986f9c056e813dceb6b1dc3a84c6769edfad5.zip | |
Optimize graphics replacement.
A simple optimization for inserting graphics is to detect when a new graphic is
replacing completely an existing one. If both graphics have the same size, and
the new one is opaque, we can assume that the previous graphic will not be
displayed anymore, so it is not considered when update the graphics list in a
single cell.
This commit also adds serde implementation for GraphicsCell. This was used to
debug the new logic.
Diffstat (limited to 'src/git:/git.josher.dev')
0 files changed, 0 insertions, 0 deletions