mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
FemtoVG: Add support for WGPU based rendering (#8268)
Enable via the `renderer-femtovg-wgpu` feature flag. cc #171
This commit is contained in:
parent
dedc5d31e2
commit
a50b8f8793
20 changed files with 331 additions and 15 deletions
|
|
@ -98,6 +98,7 @@ define_cargo_dependent_feature(backend-winit-x11 "Enable support for the winit c
|
|||
define_cargo_dependent_feature(backend-winit-wayland "Enable support for the winit create to interact only with the wayland windowing system on Unix. Enable this option and turn off SLINT_FEATURE_BACKEND_WINIT for a smaller build with just wayland support." OFF "NOT SLINT_FEATURE_FREESTANDING")
|
||||
|
||||
define_cargo_dependent_feature(renderer-femtovg "Enable support for the OpenGL ES 2.0 based FemtoVG rendering engine." ON "NOT SLINT_FEATURE_FREESTANDING")
|
||||
define_cargo_dependent_feature(renderer-femtovg-wgpu "Enable support for the WGPU based FemtoVG rendering engine." ON "NOT SLINT_FEATURE_FREESTANDING")
|
||||
define_cargo_dependent_feature(renderer-skia "Enable support for the Skia based rendering engine." OFF "NOT SLINT_FEATURE_FREESTANDING")
|
||||
define_cargo_dependent_feature(renderer-skia-opengl "Enable support for the Skia based rendering engine with its OpenGL backend." OFF "NOT SLINT_FEATURE_FREESTANDING")
|
||||
define_cargo_dependent_feature(renderer-skia-vulkan "Enable support for the Skia based rendering engine with its Vulkan backend." OFF "NOT SLINT_FEATURE_FREESTANDING")
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ backend-winit-wayland = ["i-slint-backend-selector/backend-winit-wayland", "std"
|
|||
backend-linuxkms = ["i-slint-backend-selector/backend-linuxkms", "std"]
|
||||
backend-linuxkms-noseat = ["i-slint-backend-selector/backend-linuxkms-noseat", "std"]
|
||||
renderer-femtovg = ["i-slint-backend-selector/renderer-femtovg"]
|
||||
renderer-femtovg-wgpu = ["i-slint-backend-selector/renderer-femtovg-wgpu"]
|
||||
renderer-skia = ["i-slint-backend-selector/renderer-skia", "i-slint-renderer-skia", "raw-window-handle"]
|
||||
renderer-skia-opengl = ["i-slint-backend-selector/renderer-skia-opengl", "renderer-skia"]
|
||||
renderer-skia-vulkan = ["i-slint-backend-selector/renderer-skia-vulkan", "renderer-skia"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue