You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Safari finally added offscreen canvas support in v16.4 (released around April 23), at least with bitmaprenderer and 2D context support.
It might be worth to check, if we can free some mainthread cycles by using offscreen canvas in the canvas renderer and in the image addon. The webgl renderer is prolly not worth it (not high in the CPU books, also not yet supported by Safari).
The text was updated successfully, but these errors were encountered:
If I remember right the thinking here was it would be better to move the parsing out to a worker and share memory, rather than the renderer as it's already just a small part of the work.
The webgl renderer is prolly not worth it
I treat webgl as the ideal case, so if that's fast it's not worth trying to move the canvas renderer over. Also I'd still like to remove the canvas renderer, the only reason it wasn't cut before was because iOS needed it to avoid falling back to DOM. This is less and less relevant as time goes on as the DOM renderer is much faster and Safari decided to add webgl2 support.
Also I'd still like to remove the canvas renderer, the only reason it wasn't cut before was because iOS needed it to avoid falling back to DOM.
I kinda thought the same during the DOM renderer revamping. The canvas renderer is actually now the slowest on my system for typical terminal content (well the DOM renderer still degrades in perf rather quick for lots of styling due to span element "pressure"...). Imho
If I remember right the thinking here was it would be better to move the parsing out to a worker and share memory, rather than the renderer as it's already just a small part of the work.
Indeed getting the parser off the mainthread would show a much bigger impact, hmm. Well that prolly needs some careful module/code design to get properly done (like splitting addons into parser/buffer/worker and frontend/renderer/DOM-related parts) 😅
Safari finally added offscreen canvas support in v16.4 (released around April 23), at least with bitmaprenderer and 2D context support.
It might be worth to check, if we can free some mainthread cycles by using offscreen canvas in the canvas renderer and in the image addon. The webgl renderer is prolly not worth it (not high in the CPU books, also not yet supported by Safari).
The text was updated successfully, but these errors were encountered: