mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 22:54:36 +00:00
cmake: Add the SLINT_FEATURE_RENDERER_WINIT_SOFTWARE
option to enable the software renderer
This commit is contained in:
parent
fb17010248
commit
714a91e928
3 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,7 @@ All notable changes to this project are documented in this file.
|
|||
- **Breaking:** The order of C++ generated struct members is now preserved from the .slint source file.
|
||||
- Add constructors to `slint::Image` to create images from raw pixel data.
|
||||
- In C++ builds, support all image formats the Rust image-rs crate supports, not just png and jpeg.
|
||||
- Added the `SLINT_FEATURE_RENDERER_WINIT_SOFTWARE` option to enable the software renderer.
|
||||
|
||||
### Tooling
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ define_cargo_feature(backend-winit-wayland "Enable support for the winit create
|
|||
define_cargo_feature(renderer-winit-femtovg "Enable support for the OpenGL ES 2.0 based FemtoVG rendering engine." ON)
|
||||
define_cargo_feature(renderer-winit-skia "Enable support for the Skia based rendering engine." OFF)
|
||||
define_cargo_feature(renderer-winit-skia-opengl "Enable support for the Skia based rendering engine with its OpenGL backend." OFF)
|
||||
define_cargo_feature(renderer-winit-software "Enable support for the software renderer with the winit backend" OFF)
|
||||
|
||||
define_cargo_feature(backend-qt "Enable Qt based rendering backend" ON)
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ backend-winit-wayland = ["i-slint-backend-selector/backend-winit-wayland"]
|
|||
renderer-winit-femtovg = ["i-slint-backend-selector/renderer-winit-femtovg"]
|
||||
renderer-winit-skia = ["i-slint-backend-selector/renderer-winit-skia"]
|
||||
renderer-winit-skia-opengl = ["i-slint-backend-selector/renderer-winit-skia-opengl"]
|
||||
renderer-winit-software = ["i-slint-backend-selector/renderer-winit-software"]
|
||||
|
||||
experimental = ["i-slint-renderer-skia", "raw-window-handle"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue