aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/renderer/graphics
Commit message (Collapse)AuthorAge
* Remove memoffset crate.Ayose2025-07-23
| | | | Since Rust 1.77, `offset_of` is available in the std.
* Merge remote-tracking branch 'vendor/master' into graphicsAyose2025-07-23
|
* Merge remote-tracking branch 'vendor/master' into graphicsAyose2024-12-26
|
* Fix sixels position when padding>0Manuel de Prada2024-07-09
|
* Apply rustfmt and clippy to the current branch.Ayose2022-12-02
|
* Merge remote-tracking branch 'vendor/master' into graphicsAyose2022-12-02
|
* Set graphics limit per cell.Ayose2022-10-16
| | | | | The limit per grid is increased to `1000`, and a new limit per cell is added, set to `20`.
* Support GLES2 Renderer in sixelkumattau2022-10-05
|
* Allow overlapping graphics.Ayose2022-07-13
| | | | | | | | | | | | 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.
* Highlight graphics to show hints.Ayose2022-07-12
| | | | | Similar to the underline line rendered when the cursor is over an hyperlink, for graphics we now render a border around the graphic.
* Allow replacing part of a graphic with text.Ayose2022-07-12
| | | | | | | | | When text is added to a cell with a reference to a graphic, an operation is sent to the OpenGL thread to replace a subregion of the cell with a transparent area. If the OpenGL driver supports the GL_ARB_clear_texture extension, the region is updated with glClearTexSubImage. If the extension is not available, the texture is updated with glTexSubImage2D.
* Fill all cells under a graphic with the template.Ayose2022-07-12
| | | | | | | | With the template we can create hyperlinks attached to the graphic. To avoid reflow issues when a row is shrank, wrapped rows that only contain graphic cells are discarded. With this approach we loss some info, like the hyperlink, but the image is always properly positioned in the grid.
* Merge with alacritty/masterAyose2022-07-12
| | | | | | | | | | | | | | | | | | The merge requires multiple changes in order to be compatible with the last version of Alacritty: - Textures are now always deleted on Drop. This is required because Alacritty now supports multiple windows in the same process, so we can't assume that all resources are freed when a single window is closed. This is the same approach used for the atlas textures. - The graphics feature is only compatible with OpenGL 3.3. Alacritty now supports GLES 2.2, but in order to provide a proper support for it we need a different approach, specific for that version. - Cell dimensions in pixels are re-added to the alacritty_terminal crate.
* Merge remote-tracking branch 'vendor/master' into tmp1Ayose2021-04-01
|
* Add Sixel supportAyose2021-03-11
Fixes #910