News for hackers. Stuff that matters.
Re:Vector graphics on GPU by tayistay on Wednesday August 10, 2022 @07:50PM (#32419906)
Why is that? Glyphs can be cached in a texture. That's what nanovg does and it works quite well. That's what my little library does too (https://github.com/audulus/vger)
Re:Vector graphics on GPU by moonchild on Wednesday August 10, 2022 @07:56PM (#32419959)
Doesn't work in the face of real-time dynamic transforms; 3-d, smooth zoom, etc. Atlases are also a bit heavy, so now you need a cache replacement policy, and you have annoying worst-case performance...
Re:Vector graphics on GPU by bsder on Wednesday August 10, 2022 @08:39PM (#32420234)
Only if you give up doing any script-based languages even remotely properly. And, it really doesn't even work in character-based languages with heavy kerning.

Text rendering is really complicated. There is a reason why we have so few text shaping engines.