Back to Uno

Skia Host for macOS

src/Uno.UI.Runtime.Skia.MacOS/README.md

6.6-release-branch-cut794 B
Original Source

Skia Host for macOS

Preparation

Before you can build you need the libSkiaSharp.dylib.

bash
cd UnoNativeMac
./getSkiaSharpDylib.sh

See /UnoNativeMac/README.md for more info.

Requirements

Pros

  • Faster startup: Fewer dependencies

    • Removing GTK3+ (native, requires separate installation)
    • Removing Silk.NET on macOS (not needed for Metal)
  • Faster execution: Reduced number of managed<->native transitions

  • Faster builds: No dependency on the Xamarin/Microsoft macOS SDK and toolchain

  • Faster rendering: Use Metal (not OpenGL, which was disabled for Gtk/Skia/macOS) by default. Software rendering is used as a fallback.