alacritty/alacritty/res
Ivan Avdeev 5ececc3105
Render underline and strikeout rects in batches
Currently Alacritty requires a separate `draw` call to OpenGL whenever a
new rectangle is rendered to the screen. With many rectangles visible,
this has a significant impact on rendering performance.

Instead of using separate draw calls, the new `RectRenderer` will build
a batch of rectangles for rendering. This makes sure that multiple
rectangles can be grouped together for single draw calls allowing a
reduced impact on rendering time.

Since this change is OpenGL 2 friendly, it should not make it more
complicated to transition away from the 3.3+ requirements like an
alternative instancing based implementation might have.
2020-12-10 05:42:03 +00:00
..
rect.f.glsl Render underline and strikeout rects in batches 2020-12-10 05:42:03 +00:00
rect.v.glsl Render underline and strikeout rects in batches 2020-12-10 05:42:03 +00:00
text.f.glsl Fix wide characters being cut off 2020-11-17 17:49:05 +03:00
text.v.glsl Fix wide characters being cut off 2020-11-17 17:49:05 +03:00