VL.Skia.Renderer.CrossPlatform
0.1.1
dotnet add package VL.Skia.Renderer.CrossPlatform --version 0.1.1
NuGet\Install-Package VL.Skia.Renderer.CrossPlatform -Version 0.1.1
<PackageReference Include="VL.Skia.Renderer.CrossPlatform" Version="0.1.1" />
<PackageVersion Include="VL.Skia.Renderer.CrossPlatform" Version="0.1.1" />
<PackageReference Include="VL.Skia.Renderer.CrossPlatform" />
paket add VL.Skia.Renderer.CrossPlatform --version 0.1.1
#r "nuget: VL.Skia.Renderer.CrossPlatform, 0.1.1"
#:package VL.Skia.Renderer.CrossPlatform@0.1.1
#addin nuget:?package=VL.Skia.Renderer.CrossPlatform&version=0.1.1
#tool nuget:?package=VL.Skia.Renderer.CrossPlatform&version=0.1.1
VL.Skia.Renderer.CrossPlatform
vvvv's built-in Skia Renderer (VL.Skia) only runs on Windows. This package brings the same kind of renderer, in a native window, to Windows, macOS and Linux. Patch once, and your exported app runs on a Mac or a Linux box just as it runs on Windows.
The Demo_CrossPlatform help patch in vvvv
The demo on Windows: Win32, ANGLE on Direct3D 11
The demo on macOS: AppKit, Metal
The demo on Linux: SDL on Wayland, OpenGL ES
One patch (Demo_CrossPlatform in the help), the same picture on all three systems. Click an image for
full size.
Features
- A fast, GPU-accelerated Skia window on Windows, macOS and Linux, in the editor and in exports.
- Your layers, mouse, keyboard and touch (Windows, Linux) work as with vvvv's Skia Renderer.
- Sharp on high-DPI screens (Retina, Wayland scaling).
- Full screen, always on top, Ctrl+2 screenshots, an F2 performance meter and the usual keyboard shortcuts (Cmd instead of Ctrl on a Mac).
- Smooth, display-locked frames on Windows and macOS.
- Off-screen rendering into an image any window can draw, with optional readback to the CPU.
- Windows: vvvv's GPU video nodes (VL.Video into Skia) and shared Direct3D 11 textures (FromSharedHandle, e.g. from Stride) draw straight into the window, on the same Direct3D 11 device.
- ImGui: works on Windows as usual. On macOS and Linux it needs the cimgui native library, which comes with VL.ImGui.CrossPlatform (with crisp fonts); that package brings this one with it.
Nodes
Both are in Graphics.Skia and stand in for vvvv's Skia Renderer and Renderer (OffScreen), with the same main pins (see Limitations for what is missing).
Renderer (Cross-Platform) draws your layer in a window. Main pins: Input, Bounds, Title, Color, Space; outputs Mouse, Keyboard, Window, Info, and (optional) Bounds Notifications when the window moves, resizes or changes its scale. Leave Title at "Skia" and the window tells you what it runs on.
Shortcuts in its window (with Enable Keyboard Shortcuts on; Cmd instead of Ctrl on macOS):
- Ctrl+2 saves a PNG of the window, named after the window title and the time, on Windows, macOS and Linux:
in your Pictures folder (Windows
%USERPROFILE%\Pictures, macOS~/Pictures, Linux your XDG pictures folder or~/Pictures), or in your home folder if there is none (e.g. under WSL). In the vvvv editor on Windows it also goes to the clipboard, as with vvvv's Skia Renderer. - F2 shows or hides the performance meter.
- F11 or Alt+Enter full screen, Ctrl+T always on top, Ctrl+1 shows the patch (editor).
Renderer (OffScreen Cross-Platform) draws your layer into an image. Main pins: Input, Width, Height, Mouse, Keyboard, Readback; outputs Result, Raster Image. Draw Result moved or scaled in a window and give that rectangle to Result Bounds (an optional pin): the mouse then lands in the right place in the image.
The help patches show the rest. Start with Demo_CrossPlatform, HowTo_OffScreen and HowTo_Skia3D.
Install
You need vvvv gamma 8.0 or later. Open the Package Manager, switch to Browse Packs, search for VL.Skia.Renderer.CrossPlatform and click Add. The help patches are in the Help Browser (F1).
Working from source? See docs/development.md.
Exporting
Pick the target system in the export dialog: win-x64, osx-arm64, linux-x64 or linux-arm64. For macOS and
Linux export a Console application (on Windows a Window application works too).
- macOS: the export also makes
AppName-osx-arm64.zipnext to the app folder. Copy the zip to the Mac and unpack it there: it keeps the executable bits. A folder copied straight from Windows loses them, so runbash setup.shin it once; it also clears Gatekeeper's quarantine flag. Then double-clickStart AppName.command(it starts the app and logs toAppName.log) or run./AppName. The first double-click may need right-click > Open, because the app is not signed. Turn the zip and scripts off with<VLSkiaRendererCrossPlatformMacStart>false</VLSkiaRendererCrossPlatformMacStart>in a<PatchName>.props. - Linux: copy the folder over, run
chmod +x AppName, then start it. The app uses Wayland when it can, otherwise X11, and KMS/DRM without a desktop. In WSL2, setGALLIUM_DRIVER=d3d12to use the GPU. - Fonts: Windows fonts such as Segoe UI are missing on macOS and Linux, so a patch that needs a specific font should ship the font file with the export.
Warning Many font licenses (most desktop fonts) do not allow embedding the font in an app or passing it on. Ship only fonts whose license permits that (for example the SIL Open Font License) and keep the license text beside the font file.
Platforms
| Platform | Status | Notes |
|---|---|---|
| Windows x64 | ✅ | Direct3D 11 |
| macOS arm64 | ✅ | Metal, Apple Silicon |
| Linux x64 | ✅ | OpenGL ES (desktop OpenGL as fallback); X11, Wayland, KMS/DRM; tested under WSL2 |
| Linux arm64 | untested | Same build as x64; see TODO |
Linux needs glibc 2.28 or newer (Debian 10, Ubuntu 20.04, Raspberry Pi OS bullseye and later).
How it works
The node picks the window and GPU of the system it runs on and draws your layer there with Skia. The off-screen node shares that GPU, so its image reaches any window without a copy.
Renderer (Cross-Platform) draws your layer in a native window: Win32 with ANGLE on Direct3D 11 on Windows, AppKit with Metal on macOS, SDL 3 with EGL and OpenGL ES on Linux (X11, Wayland or KMS/DRM). Renderer (OffScreen Cross-Platform) draws it into an image on the same GPU.
Limitations
- Linux: VSync works, but frame timing is not yet tuned to the display as on Windows and macOS, so now and then a frame can come a refresh late.
- macOS: accents and input methods (dead keys, CJK) don't compose.
- macOS, in a window (not full screen): now and then the system shows a frame a refresh late although it came in time, more often while other apps draw. Full screen avoids it.
- Wayland: no always on top, and the system places the window. Starting the app with
SDL_VIDEO_DRIVER=x11runs it through XWayland, where both should work, but the window is not sharp on a scaled screen and ImGui stays at scale 1 (not yet tested on a Wayland desktop). - No Extend Into Title Bar (vvvv's Skia Renderer has it).
Workarounds the package relies on:
- WinForms stand-in. VL.Skia's experimental RenderWindow node uses WinForms' FormClosingEventArgs, and because
of it many other VL.Skia nodes fail to load on macOS and Linux. The package adds a tiny stand-in
System.Windows.Forms.dll with just that type to those exports; nothing in it runs. Turn it off with
<PropertyGroup><VLSkiaRendererCrossPlatformWinFormsStandIn>false</VLSkiaRendererCrossPlatformWinFormsStandIn></PropertyGroup>in a<PatchName>.propsnext to the patch. - ImGui scale. VL fixes its DIP factor at 1 outside Windows; the package sets it by reflection so ImGui fits the screen. A Windows console export is not DPI aware, so VL's factor would be 1 there too; the package makes such a process per-monitor DPI aware at start, as the editor is.
- Cmd+Q. To quit a Mac export that something else keeps alive, the package resets VL's keep-alive count by reflection.
- ImGui fonts. vvvv's ImGui looks fonts up the Windows way, so on macOS and Linux it finds none and falls back to a tiny pixel font that doesn't scale with the display. If you also add VL.ImGui.CrossPlatform, our renderers ask it to swap in a sharp system font at the display's scale. Without it, nothing changes. Neither package needs the other.
- Windows typing in the editor. WinForms' dialog handling in the vvvv editor swallows typed characters, so the window hooks them back in.
TODO
- Publish on NuGet.
- Test on a real Linux desktop (so far tested only under WSL2).
- Test Linux arm64 on a Raspberry Pi 5, and KMS/DRM without a desktop.
- WSLg: the window-edge resize cursors are still double size.
- Linux: tune frame timing to the display, as on Windows and macOS.
- macOS text input: dead keys and input methods.
- Test on a 120 Hz display.
- Remeasure Windows frame timings.
- Test moving windows between screens with different DPI.
- Test on real touch screens.
- Extend Into Title Bar, as in vvvv's Skia Renderer.
- macOS: raw trackpad touches and touchscreen Macs as touch input.
- macOS: ship exports as a proper app (.app in a .dmg or .pkg), code-signed and notarized with an Apple Developer ID, the only way to start without Gatekeeper's prompt, instead of a zip with setup.sh and a .command.
Depends on the vvvv team:
- Per-window ImGui scale: VL.ImGui scales by one global factor, so on macOS and Linux ImGui uses the main screen's scale.
- Drop the WinForms stand-in once VL.Skia (in vvvv's VL.StandardLibs) no longer references WinForms (its RenderWindow (Upcoming Experimental) node uses FormClosingEventArgs). vvvv is working on exporting VL.Skia for macOS and Linux (forum thread).
The detailed checklist against vvvv's Skia Renderer: docs/TODO.md.
Contributing
Issues and pull requests are welcome; questions and showcases go to forum.vvvv.org. Building, tests and debug switches: docs/development.md.
License
VL.Skia.Renderer.CrossPlatform is MIT licensed and free to use, see LICENSE.
In short: you may use, change and sell it and what you build with it, also in closed-source commercial projects. Keep the copyright notice, and ship the third-party notices with your app (exports get them automatically). No warranty.
vvvv: the MIT license covers this package only. vvvv has its own license: free for evaluation, non-commercial use, FOSS development and teaching; any commercial use, including academic research and NPOs, needs a per-developer license. See vvvv licensing.
The package ships SDL 3 for Linux (zlib license, see THIRD-PARTY-NOTICES.md). On macOS and Linux it uses SkiaSharp's native libraries from NuGet (MIT; Skia itself is BSD-3-Clause). On Windows it draws through the Skia and ANGLE that come with vvvv.
This is an independent project, not made or endorsed by the vvvv group.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- SkiaSharp.NativeAssets.Linux (>= 2.88.8)
- SkiaSharp.NativeAssets.macOS (>= 2.88.8)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on VL.Skia.Renderer.CrossPlatform:
| Package | Downloads |
|---|---|
|
VL.ImGui.CrossPlatform
vvvv's VL.ImGui on macOS arm64 and Linux x64/arm64: native cimgui (Dear ImGui 1.90.0, docking branch, with vvvv's thread-local context fork, built unchanged from vvvv/ImGui.NET-nativebuild 95abfbc), and vector fonts for the ImGui region where VL.ImGui finds no font by name (FontSwap, Font File (Cross-Platform)). Windows natives come with VL.ImGui itself. Add it next to VL.ImGui; exports for macOS and Linux pick the library up. When VL.ImGui ships its own libcimgui for a platform, this package steps aside, and it warns when VL.ImGui's ImGui.NET version differs from the one it was built for. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.1 | 107 | 11/30/2026 |



