slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.72k stars 615 forks source link

linuxkms: Add support for software rendering #3390

Closed tronical closed 5 months ago

tronical commented 1 year ago

At the moment only the FemtoVG renderer and Skia with OpenGL and Vulkan are supported.

We should add support for allocating DUMB buffers and the ability to render into them using our software renderer as well as Skia's software renderer.

tronical commented 10 months ago

Skia fullscreen software support is implemented. Slint software renderer, and partial rendering support is not done yet.

yaobo-lab commented 4 months ago

Skia fullscreen software support is implemented. Slint software renderer, and partial rendering support is not done yet.

When will this feature be supported? I'm really looking forward to this feature

ogoffart commented 4 months ago

This is implemented in master (for 1.7)

igiona commented 1 month ago

@ogoffart is there any documentation on how to use this with a framebuffer as output device like /dev/fb0 ? In QT I usually simply pass -platform linuxfb via command line arg when I start the application, and somehow the magic happens.

tronical commented 1 month ago

The Linux frame buffer is chosen automatically if drm dumb buffer allocation fails.