Login
You're viewing the code4lib.social public feed.

Replies

  • Nov 25, 2026, 7:55 PM

    @regehr @lritter it doesn't count if you need to save and trigger a build in the background

    plus, I am one of those real-time snobs from the game space. You know, the kind who looks at what SIGGRAPH papers describe as "interactive rates" and rolls their eyes

    💬 1🔄 0⭐ 0
  • Nov 25, 2026, 8:47 PM

    @rygorous @regehr @lritter I elicited a text-formatting program from Opus 5.5 this week; like LaTeX, it uses Knuth–Plass paragraph wrapping and Liang hyphenation, but it renders a 1080p frame in about 5 milliseconds on my Ryzen 5 3500U laptop. So you can page through a Project Gutenberg book at 200 frames per second. The only thing it prerenders is a font SDF; if you let it cache the rasterized glyphs and the page layout, the framerate doubles.

    canonical.org/~kragen/sw/vriff

    Image attached toot
    💬 0🔄 0⭐ 0
  • Nov 25, 2026, 8:58 PM

    @rygorous @regehr @lritter I was able to get the antialiased compositing time down significantly by using PMINUB instead of normal alpha-compositing, and I don't think you can really see the difference. There are some SDF decal artifacts I'm going to work on. On Claude's Xeon, it's able to render the output pixel data somewhat faster than memcpy(), but on my laptop it's only 200 fps. I spent all day yesterday trying to fix that

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 25, 2026, 11:53 PM

    @regehr @rygorous @lritter just to be clear, vriffle is an experiment to see what the limits are, not an actually useful app. The bytewise-minimum compositing (the bytewise version of BitBlt with AND — it's just the Zadeh fuzzy logic operator) helps a lot. But I've tried push-based compositing by scanline, push-based glyph compositing by tile with different tile sizes, pull-based compositing with a 16×4 tile stored entirely in the XMM registers… nothing hits memcpy()-like performance on my laptop except actual memcpy()!

    💬 0🔄 0⭐ 0