mirror of
https://github.com/openwrt/video.git
synced 2026-10-12 05:57:07 +04:00
9ef83aa136c2a9327c0bf4960f958f2a4d24d4b5
Plymouth's own script plugin has its own little language and draws by compositing prepared images, which means a theme arrives as a few hundred PNGs. This plugin makes a theme one ucode program instead, with a plutovg canvas over plymouth's pixel buffer, so a theme is source and its artwork is SVG. A theme returns setup, frame, paint and event. frame advances state and declares what changed, paint draws one damaged rectangle, and nothing reaches the screen that the theme did not ask for, which keeps a busy scene at a couple of milliseconds a frame rather than repainting everything. Themes are written against the contract in files/README.md and can be measured offscreen, on any target, with the included plymouth-theme-bench, which reports the package version it was built from. The plugin connects to ubus and passes events through, along with the objects that already existed when it connected, so a theme can show what the system is actually doing rather than animating a guess. It starts the splash from a preinit hook, before the overlay is mounted, and keeps it up through sysupgrade. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Video packages feed
Description
This is an OpenWrt package feed containing video / graphics (as in 'higher than just curses') related libraries and applications which are not considered to be so called "core" packages.
Usage
To use these packages, add the following line to the feeds.conf in the OpenWrt buildroot:
src-git video https://github.com/openwrt/video.git
This feed should be included and enabled by default in the OpenWrt buildroot. To install all its package definitions, run:
./scripts/feeds update video
./scripts/feeds install -a -p video
The video packages should now appear in menuconfig in section 'Video'.
Languages
Makefile
52.9%
C
34.8%
UnrealScript
9.6%
Shell
2.7%