rdkcentral / Lightning

Lightning - The WPE UI Framework for developing Apps and UX
Apache License 2.0
191 stars 109 forks source link

OffscreenCanvas support? #367

Open lmatteis-wm opened 2 years ago

lmatteis-wm commented 2 years ago

The OffscreenCanvas API seems to allow canvas rendering in WebWorkers:

https://devnook.github.io/OffscreenCanvasDemo/index.html https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas

I was wondering whether this could be used by Lightning for certain work that we're noticing is causing stutters: such as rendering large nested trees.

erikhaandrikman commented 2 years ago

Hi, it could be used by Lightning but would require some fundamental changes. We have this already on our backlog but can't provide any clear timelines.