6 ms·
> VSCode already renders terminal on GPU When did they add that? Last time I used it, it was still based on xterm.js. Also, technically Chromium/Blink has GPU
by matsz 10mo ago
> VSCode already renders terminal on GPU
When did they add that? Last time I used it, it was still based on xterm.js.
Also, technically Chromium/Blink has GPU rendering built in for web pages, so everything could run on GPU.
- jcheng 10mo agoWow, it's true--Terminal is <canvas>, while the editor is DOM elements (for now). I'm impressed that I use both every day and never noticed any difference.
- nurumaik 10mo agoEnabled by default since about a year > GPU acceleration driven by the WebGL renderer is enabled in the terminal by default. This helps the terminal work faster and display at a high FPS by significantly reducing the time the CPU spends rendering each frame https://code.visualstudio.com/docs/terminal/appearance#_gpu-acceleration https://code.visualstudio.com/docs/terminal/appearance#_gpu-...
- Tyriar 10mo agoIt's actually been the default since v1.55 which released early April 2021: https://code.visualstudio.com/updates/v1_55#_webgl-renderer-is-the-new-default https://code.visualstudio.com/updates/v1_55#_webgl-renderer-... Before that from v1.17 (~October 2017) it was using a 2d canvas context: https://code.visualstudio.com/blogs/2017/10/03/terminal-renderer https://code.visualstudio.com/blogs/2017/10/03/terminal-rend...