lvgl icon indicating copy to clipboard operation
lvgl copied to clipboard

Separate the rendering and widgets

Open AlixANNERAUD opened this issue 8 months ago • 29 comments

Introduce the problem

It would be good to be able to get rid of the rendering part when needed (with a #define in lv_conf.h), somewhat like having a "client" side and a "server" side.

Proposal

The client side would only be responsible for setting up and configuring the data structure structures, and the server side for the rendering and input device. Currently, LVGL compiled in WASM occupies ~600 KB, which is significant. I think we can reduce this by getting rid of the rendering part.

AlixANNERAUD avatar Jun 30 '24 00:06 AlixANNERAUD