Re:Show HN: Alacritty, a GPU-accelerated terminal emulator w...
by Asooka on Friday January 06, 2017 @04:20PM
(#13340303)
Hm, if we're doing GPU rendering for speed, I'd suggest uploading vector glyph data to the GPU and rasterising on the GPU in the pixel shader, rather than using FreeType. See here: http://wdobbie.com/post/gpu-text-rendering-with-vector-textu... . The WebGL Demo is really impressive - it lets you zoom in and out on a multi-page PDF at speeds I haven't seen anywhere else.
[ Parent
| on HN ]
Re:Show HN: Alacritty, a GPU-accelerated terminal emulator w...
by pcwalton on Friday January 06, 2017 @07:41PM
(#13341651)
That will lose by a lot overall. Hit rates on the glyph cache are massive.
Re:Show HN: Alacritty, a GPU-accelerated terminal emulator w...
by dddddannyyyyy on Friday January 06, 2017 @06:51PM
(#13341418)
This is not fast. It uses less texture memory but it is not faster than 2 triangles per character. This is why no one really uses this technique in a production system right now.