Vouch request for clemg #14463
Replies: 1 comment
|
!vouch |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What do you want to change?
I'd like to propose a bulk, per-row style readback to the render-state C API, mirroring the bulk cell readback that already exists (added in 74a233b ). I already have a working concept of this here (main...clemg:bulk-style-readback).
I also have a few other things I'd like to propose in the same area.
Why do you want to make this change?
I saw this tweet from Almonk a few days ago about their web client using webgl + libghostty, and his response which says the terminal emulator runs in WASM, and was curious about how libghostty runs in it. Reading a cell's style currently takes two calls per cell, so preparing a full screen is thousands of JS<->wasm boundary crossings per frame, but a bulk per-row readback makes it one call per row. I played with things a fair bit and noticed this, but I could probably talk about it more in detail in a dedicated PR 🤠
I acknowledge that:
All reactions