Add skia renderer skeleton

This one can render basically just plain rectangles.
This commit is contained in:
Simon Hausmann 2022-07-26 17:52:36 +02:00 committed by Simon Hausmann
parent 086880f605
commit 771b122198
14 changed files with 423 additions and 8 deletions

View file

@ -85,6 +85,7 @@ define_cargo_feature(eventloop-winit-x11 "Enable support for the winit create to
define_cargo_feature(eventloop-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_EVENTLOOP_WINIT_ALL for a smaller build with just wayland support." OFF)
define_cargo_feature(renderer-femtovg "Enable support for the OpenGL ES 2.0 based FemtoVG rendering engine." ON)
define_cargo_feature(renderer-skia "Enable support for the Skia based rendering engine." ON)
define_cargo_feature(backend-qt "Enable Qt based rendering backend" ON)

View file

@ -31,6 +31,7 @@ eventloop-winit = ["i-slint-backend-selector/eventloop-winit"]
eventloop-winit-x11 = ["i-slint-backend-selector/eventloop-winit-x11"]
eventloop-winit-wayland = ["i-slint-backend-selector/eventloop-winit-wayland"]
renderer-femtovg = ["i-slint-backend-selector/renderer-femtovg"]
renderer-skia = ["i-slint-backend-selector/renderer-skia"]
default = ["eventloop-winit", "renderer-femtovg", "backend-qt"]