diff options
| author | Ayose <ayosec@gmail.com> | 2022-07-13 14:07:33 +0100 |
|---|---|---|
| committer | Ayose <ayosec@gmail.com> | 2022-07-13 14:07:33 +0100 |
| commit | dae81e0af69d6f0c4249f09f3ae7646ce2782170 (patch) | |
| tree | 6a8da17d570cb3c27863c08355975f1f88893dfa /src/git: | |
| parent | f796ba2afa445254da02157765344164d04f7dad (diff) | |
| download | r-alacritty-dae81e0af69d6f0c4249f09f3ae7646ce2782170.tar.gz r-alacritty-dae81e0af69d6f0c4249f09f3ae7646ce2782170.tar.bz2 r-alacritty-dae81e0af69d6f0c4249f09f3ae7646ce2782170.zip | |
Allow overlapping graphics.
If a graphic is added over another one, the implementation now checks if new
graphic has transparent pixels in every cell. If so, the graphic is appended to
the cell, instead of replacing the previous one.
SmallVec is used to prevent heap allocation when the cell only contains a single
graphic. This should be the most common scenario.
The GPU will store up to 100 textures. If another texture is added when there
are 100, the oldest one is deleted.
Diffstat (limited to 'src/git:')
0 files changed, 0 insertions, 0 deletions