4 ms·
This is ignoring how modern graphics work on a computer. If you want to make a terminal into a compositor you do want to have programs communicate pixel data ov
by charcircuit 3y ago
This is ignoring how modern graphics work on a computer. If you want to make a terminal into a compositor you do want to have programs communicate pixel data over stdout. You instead allocate a buffer (texture) that programs draw into. The approach described is unable to utilize hardware acceleration that is useful for a compositor. If you play a video there will be a lot of overhead in this approach compared to a normal compositor where the video decoding and composting can happen entirely on the GPU.