News for hackers. Stuff that matters.
Re:Ledit: Simple, GPU-rendered, no bullshit text editor by ben-schaaf on Wednesday February 23, 2022 @07:02PM (#30448507)
Can't speak for this project, but you simply can't get good performance at high resolutions (4k+) using CPU rendering.
Re:Ledit: Simple, GPU-rendered, no bullshit text editor by sidpatil on Wednesday February 23, 2022 @09:09PM (#30449453)
I suppose "good performance" is subjective. I run VS Code on a 4k (well, 3840-by-2160) monitor attached to a ThinkPad T440, and the performance is acceptable. The CPU does get busier, but not by much.

Though, the biggest limitation is that the framerate is only 30Hz since the HDMI version is older on that laptop, so maybe that has something to do with it as well.

Re:Ledit: Simple, GPU-rendered, no bullshit text editor by zamadatix on Wednesday February 23, 2022 @09:39PM (#30449613)
VS Code certainly uses GPU accelerated rendering, it's an Electron app after all. Though yes only needing to hit 30 FPS to not be the bottleneck in your case does make things a bit moot.
Re:Ledit: Simple, GPU-rendered, no bullshit text editor by dahart on Wednesday February 23, 2022 @11:36PM (#30450319)
> The CPU does get busier, but not by much.

Try again, with --disable-gpu.

Re:Ledit: Simple, GPU-rendered, no bullshit text editor by vidarh on Thursday February 24, 2022 @07:59AM (#30454119)
You could get good performance with CPU rendering on machines several orders of magnitude slower than what we had today to screens that certainly did not have as many orders of magnitude fewer pixels.